Author Topic: how to DISABLE 'Remember me for 14 days' function  (Read 2320 times)

icfw

  • Full Member
  • ***
  • Posts: 122
    • View Profile
how to DISABLE 'Remember me for 14 days' function
« on: 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

Forboding Angel

  • Freshman
  • *
  • Posts: 17
    • View Profile
Re: how to DISABLE 'Remember me for 14 days' function
« Reply #1 on: 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.

hsplinter

  • Freshman
  • *
  • Posts: 12
    • View Profile
Re: how to DISABLE 'Remember me for 14 days' function
« Reply #2 on: 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>


franponce87

  • Administrator
  • Hero Member
  • *****
  • Posts: 1819
    • View Profile
    • Email
Re: how to DISABLE 'Remember me for 14 days' function
« Reply #3 on: 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!
Would you like to install Feng Office Professional or Enterprise Edition in your servers? No problem! Read this article!

icfw

  • Full Member
  • ***
  • Posts: 122
    • View Profile
Re: how to DISABLE 'Remember me for 14 days' function
« Reply #4 on: September 22, 2010, 09:20:21 pm »
Hi,

the suggestions provided by hsplinter work like a charm.

Thank you.
.Mirsad