Skip to content

Conversation

pudiva
Copy link

@pudiva pudiva commented Jul 30, 2019

If a remember 2fa cookie is issued expiring in 30 days and the server is
updated with a new value for remember_otp_session_for_seconds, the
cookie will still be valid for 30 days, as the final date was set on it.

To get around that, timestamp the cookie and compare that to the current
setting on the server.

If a remember 2fa cookie is issued expiring in 30 days and the server is
updated with a new value for `remember_otp_session_for_seconds`, the
cookie will still be valid for 30 days, as the final date was set on it.

To get around that, timestamp the cookie and compare that to the current
setting on the server.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant