What's the point of preventing adding emails when 2fa enabled? #3913
Closed
last-partizan
started this conversation in
General
Replies: 1 comment 2 replies
-
This prevents an attack vector where an attacker signs up using your email. Obviously, (s)he cannot verify the email, but if (s)he is allowed to turn on 2FA that will block you from being able to sign up. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I started to move my app from custom 2fa to allauth.mfa, and discovered that it prevents adding emails after you configure 2fa.
7bf4d5e
Why?
Can we make this check optional? I can create PR adding a setting, or maybe improving this (for example, preventing adding emails only when there's no other verified emails, it that makes sense.)
cc @pennersr
Beta Was this translation helpful? Give feedback.
All reactions