-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only allow backup codes when another 2FA method exists #21
Comments
Related: #15 |
Yes! Good catch :) |
Probably, i'm just prototyping the functionality and following pre-existing patterns in the plugin. |
We can probably achieve this using the |
#24 as a potential method for doing this. |
I only found this repo after opening a ticket in Meta Trac, but for reference: https://meta.trac.wordpress.org/ticket/6825 |
Hey 👋🏻 , sorry you experienced that. WordPress/two-factor#507 is the main cause for it, but #75 and #47 will help mitigate it in the mean time. |
Hi @iandunn, thanks for the context! Yes, that sounds exactly like what happened. The fix sounds reasonable to me as well. (I'm all set again already, thanks to a forums moderator.) |
Currently you can setup backup codes without an additional method (TOTP, auth key).
If we want to block this workflow, and tie backup codes to only be used as an additional method, then we'll need to rework the logic and possibly restrict backup codes being a primary method.
The text was updated successfully, but these errors were encountered: