Help > Forum > Users > Persistent log in

Persistent log in

The "Keep me logged in" option on the forum log in page saves the member's username and encrypted password in their browser so that they don't have to manually log in each time they visit the forum. This feature may be a cause for concern with some forums that require high levels of security because there is always a chance of a user forgetting to log out on a public computer.

You can modify the persistent log in option by following the directions below:

  1. Log in to your Website Toolbox account.
  2. Click the Integrate link.
  3. Click the HTML link.
  4. Insert one of the following codes into the Footer textbox.

    The persistent log in option is turned off by default when a member visits the log in page of a forum. The code below can be used to turn it on by default.

    <script>
    <!--
    
    window.addEventListener("DOMContentLoaded", function() {
    	jQ('input[type="checkbox"][name="remember"]').prop('checked', true);
    });
    
    -->
    </script>
    

    The code below can be used to hide the persistent log in option completely.

    <style>
    #user_login input[type="checkbox"][name="remember"],
    #user_login input[type="checkbox"][name="remember"] ~ span,
    .container.content-panel.login input[type="checkbox"][name="remember"],
    .container.content-panel.login input[type="checkbox"][name="remember"] ~ span,
    #form-dialog input[type="checkbox"][name="remember"],
    #form-dialog input[type="checkbox"][name="remember"] ~ span {
        display: none !important;
    }
    </style>
    
  5. Save the changes.


If you still need help, please contact us.