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
I searched for this functionnality in the readme and by exploring the code and it seems that there is no concept of period of validity involved in the logic of mfa.Email.auth
Maybe this could be implemented using the request session only for email keys, or a more generic approach could be added directly using User_Keys.expires and a middleware.
In both case, this timeout should be configurable per OTP method and have sensible defaults.
Happy to discuss it further if you think it's worth it !
The text was updated successfully, but these errors were encountered:
Hi,
I searched for this functionnality in the readme and by exploring the code and it seems that there is no concept of period of validity involved in the logic of
mfa.Email.auth
Maybe this could be implemented using the request session only for email keys, or a more generic approach could be added directly using
User_Keys.expires
and a middleware.In both case, this timeout should be configurable per OTP method and have sensible defaults.
Happy to discuss it further if you think it's worth it !
The text was updated successfully, but these errors were encountered: