2013-10-25, 04:41 PM
Hi,
Recently installed myBB - version 1.6.10. My issue is that I want users to be logged out if they close their browser / or that they have to always login with login name and password when visiting the forum.
I've tried the following:
In member login I've removed: <td class="trow1" colspan="2" align="center"><label title="{$lang->remember_me_desc}"><input type="checkbox" class="checkbox" name="remember" checked="checked" value="yes" /> {$lang->remember_me}</label></td>
In portal_welcome_guesttext I've removed: <label title="{$lang->remember_me_desc}"><input type="checkbox" class="checkbox" name="remember" value="yes" /> {$lang->remember_me}</label><br /><br />
I've also modified general.js and tried deleting it altogether. But I still get the same result - if I login and close the browser and then reopen I can still get access without having to login, as if it is cached in a cookie.
I would be happy either with a user being logged out after a period of inactivity - just something to have to force the user to input a user name and password when returning to the site.
Thanks in advance,
casol01
Recently installed myBB - version 1.6.10. My issue is that I want users to be logged out if they close their browser / or that they have to always login with login name and password when visiting the forum.
I've tried the following:
In member login I've removed: <td class="trow1" colspan="2" align="center"><label title="{$lang->remember_me_desc}"><input type="checkbox" class="checkbox" name="remember" checked="checked" value="yes" /> {$lang->remember_me}</label></td>
In portal_welcome_guesttext I've removed: <label title="{$lang->remember_me_desc}"><input type="checkbox" class="checkbox" name="remember" value="yes" /> {$lang->remember_me}</label><br /><br />
I've also modified general.js and tried deleting it altogether. But I still get the same result - if I login and close the browser and then reopen I can still get access without having to login, as if it is cached in a cookie.
I would be happy either with a user being logged out after a period of inactivity - just something to have to force the user to input a user name and password when returning to the site.
Thanks in advance,
casol01