You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{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}
The text was updated successfully, but these errors were encountered:
{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}
The text was updated successfully, but these errors were encountered: