• Resolved globsticks

    (@globsticks)


    In defaul login page I marked show “Remember Me”, I have Recaptcha enabled as well, I notice when in the login page I marked “Keep me signed in”, it never saves my login credentials at all. Is there a way to make work the “Keep me signed in” feature?
    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @globsticks

    By default, when the “Remember Me/ Keep Me signed in” is checked, the cookies will be kept for 14 days or two weeks. If you want to increase the expiration, you can try adding the following to remember the signing for 1 year:

    add_filter( 'auth_cookie_expiration', 'um_021121_keep_me_logged_in_for_1_year' );
    function um_021121_keep_me_logged_in_for_1_year( $expirein ) {
        return YEAR_IN_SECONDS; // 1 year in seconds
    }

    You can add the code to your theme/child-theme’s functions.php file or use the Code Snippet plugin to run the code.

    Regards,

    Plugin Support Ultimate Member Support

    (@ultimatemembersupport)

    Hi @globsticks

    Please feel free to re-open this thread by changing the Topic Status to ‘Not Resolved’ if any other questions come up and we’d be happy to help… ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Keep me signed in feature’ is closed to new replies.