• Resolved presbycan

    (@presbycan)


    Can you create a way to remember a user’s trusted devices so they don’t have to check their email every time to login?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author SS88 LLC

    (@ss88_uk)

    Morning @presbycan,

    Our new release is going to honor the ‘Remember Me’ checkbox, thus helping you stay logged in longer across devices.

    I’ll update this ticket as soon as it’s available (2-3 days).

    Kind regards,
    Sully

    Thread Starter presbycan

    (@presbycan)

    I was not aware of how the “Remember Me” box puts a 14-day cookie on one’s browser, so that we don’t have to login every time as long as we don’t logout and go directly to “https://myblog.com/wp-admin/” next time, even if we close our browser. Your plugin as currently configured honors that. The only way to do it across devices would be to keep a record of the user’s “trusted devices” (browser, hardware, email) in a database, and that seems like overkill.

    Plugin Author SS88 LLC

    (@ss88_uk)

    Hi @presbycan,

    By default our plugin only allows for 2 days, then logs out the devices. In our upcoming release, it will support the ‘Remember Me’ function of WordPress and honor the default 14 days. By default, WordPress will keep devices logged in for 14 days if the rememberme checkbox was checked.

    To increase this time so that your devices can stay logged in longer, you’ll need to add a new filter for auth_cookie_expiration.

    An example of increasing 14 days to 30 days would be like so:

    add_filter('auth_cookie_expiration', function() { return MONTH_IN_SECONDS; });

    I hope that helps!

    Let me know if you have any further questions.

    Kind regards,
    Sully

    • This reply was modified 9 months, 1 week ago by SS88 LLC.
    Plugin Author SS88 LLC

    (@ss88_uk)

    Morning @presbycan,

    Version 1.6.4 was just released with the Remember Me functionality.

    Let me know if you have any further questions. Enjoy!

    Kind regards,
    Sully

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Trusted Devices’ is closed to new replies.