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
BEWARE
hitting save after looking at a user profile with 2fa enabled regenerates the 2fa code and locks out the user.
I thought it was clock slippage until I realised that one user was OK and another one not.
Just saving the user you can see that the alpha code is changed each time.
I only realised as I was trying to work out how to enable a (non admin) user to turn on 2fa for themselves.
The text was updated successfully, but these errors were encountered:
problem is with line 6 of /grav/user/plugins/login/templates/forms/fields/2fa_secret/2fa_secret.html.twig
set user = grav.user
commenting / removing this line allows the load of the page to FIND the existing 2FA value, as the regen is a product of not finding it.
mahagr
transferred this issue from getgrav/grav-plugin-admin
Dec 9, 2020
BEWARE
hitting save after looking at a user profile with 2fa enabled regenerates the 2fa code and locks out the user.
I thought it was clock slippage until I realised that one user was OK and another one not.
Just saving the user you can see that the alpha code is changed each time.
I only realised as I was trying to work out how to enable a (non admin) user to turn on 2fa for themselves.
The text was updated successfully, but these errors were encountered: