• boca jo

    (@boca-jo)


    I love this handy plugin!! I need to disable the “Remember me” checkbox for security. Can anyone suggest how to do this with Sidebar Login?

    I tried adding CSS .login-remember {display: none;}, which works to hide the checkbox, but the plugin behaves as if “Remember me” was checked, and the user’s logged in status is remembered across browser sessions.

    http://wordpress.org/extend/plugins/sidebar-login/

Viewing 3 replies - 1 through 3 (of 3 total)
  • I have the same situation. I would like to either:

    1. Completely remove the ‘Remember Me’ checkbox and text, or

    2. Have the ‘Remember Me’ checkbox default to unchecked.

    How do I do that?

    Carmine Prestia

    I resolved this by editing the proper CSS file (I don’t remember which one) to set ‘remember me’ = ‘false’.

    In the file
    \wp-content\plugins\sidebar-login\includes\class-sidebar-login-widget.php

    line 294 (or thereabouts)
    ‘remember’ => true,
    controls visibility of Remember Me check-box
    line 295(or near)
    ‘value_remember’ => true
    controls default value of box if it is visible
    So
    ‘remember’ => true,
    ‘value_remember’ => false
    will show the check box with un-ticked default
    and
    ‘remember’ => false,
    will not show the check-box and will not remember whatever ‘value_remember’ is set at, but it is neater to set
    ‘value_remember’ => false
    in this case!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Disabling "Remember Me"’ is closed to new replies.