two_factor_authentication icon indicating copy to clipboard operation
two_factor_authentication copied to clipboard

Use create date over expiry on remember 2fa cookie

Open pudiva opened this issue 6 years ago • 0 comments

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.

pudiva avatar Jul 30 '19 18:07 pudiva