Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable to “Remember me” session. #5

Open
cssjoe opened this issue Dec 11, 2018 · 0 comments
Open

Enable to “Remember me” session. #5

cssjoe opened this issue Dec 11, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@cssjoe
Copy link
Member

cssjoe commented Dec 11, 2018

{code}
What do we do for a user who’s session gets logged out?
Set the login timeout…
Enable to “Remember me” session. Looked into this, but should be 14 days.
[ ] Create ticket for above.
A filter can be used to specify the timeout:
add_filter( 'auth_cookie_expiration', array( $this, 'login_timeout_filter' ), 99, 3 );
function login_timeout_filter( $seconds, $user_id, $remember ){ … }
{code}

@cssjoe cssjoe added the enhancement New feature or request label Dec 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant