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 could be missing something from the docs or SO, but is there a single settings.py option to disable two_factor just in dev mode? I frequently reset my dev db and it's tedious to have to enter a new 2fa code every time. It would be nice to have an option just to go to the standard Django admin page without two_factor.
The text was updated successfully, but these errors were encountered:
If you have multiple settings modules per environment, you can set the LOGIN_URL and TWO_FACTOR_PATCH_ADMIN accordingly there. If not, maybe by setting TWO_FACTOR_PATCH_ADMIN = not DEBUG or similar?
Hi, thanks for this useful library :)
I could be missing something from the docs or SO, but is there a single settings.py option to disable
two_factor
just in dev mode? I frequently reset my dev db and it's tedious to have to enter a new 2fa code every time. It would be nice to have an option just to go to the standard Django admin page withouttwo_factor
.The text was updated successfully, but these errors were encountered: