Feng Forum

Support => How To's => : icfw September 21, 2010, 03:21:51 AM

: how to DISABLE 'Remember me for 14 days' function
: icfw September 21, 2010, 03:21:51 AM
Dear admin,

we would like to disable the function found on the log-in page that reads 'Remember me for 14 days'.

Can you please give us instructions on how to do this.

Thanks.
.Mirsad
: Re: how to DISABLE 'Remember me for 14 days' function
: Forboding Angel September 21, 2010, 03:45:33 AM
Why not just leave it unchecked? Moreover, if you want a browser based solution, simply disable cookies in your favorite web browser.
: Re: how to DISABLE 'Remember me for 14 days' function
: hsplinter September 21, 2010, 06:22:25 AM
edit the file \fengoffice\application\views\access\login.php

remove line 33 - 36:

  <div style="margin-top: 6px">
    <?php echo checkbox_field('login[remember]', array_var($login_data, 'remember') == 'checked', array('id' => 'loginRememberMe')) ?>
    <label class="checkbox" for="loginRememberMe"><?php echo lang('remember me') ?></label>
  </div>

: Re: how to DISABLE 'Remember me for 14 days' function
: franponce87 September 21, 2010, 10:38:02 AM
Hello, I do not remember right now how did it work exactly in the 1.6.2 version, but in the current one just by logging works out.
Greetings!
: Re: how to DISABLE 'Remember me for 14 days' function
: icfw September 22, 2010, 09:20:21 PM
Hi,

the suggestions provided by hsplinter work like a charm.

Thank you.
.Mirsad