-
Notifications
You must be signed in to change notification settings - Fork 5
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
Can 2FA be bypassed for dev users in local development? #584
Comments
Anchit will know better as implemented this but from my understanding the 2FA is actually a python application that is added to the applications list in settings.py and cannot really be disabled because of all the dependencies. I think Anchit quickly go bored of the work flow but could not switch it off.
|
yes I really really tried to bypass it for development because of the annoyance but was personally unable. The issue centers around the 2fa package we use hooks into the auth workflow. Potential solutions:
|
NOTE: someone has already raised an issue for this on the package (jazzband/django-two-factor-auth#676). Tried bumping it, we can check again at a later point |
Closing this since added in PR #778 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I wondered if there woul dbe a way we could disable 2FA for local dev to reduce the time it takes to log in. Currently when setting up a new E12 dev env we have to create a 2FA method, set it up, and then use it to log in.
@anchit-chandran @eatyourpeas is this acceptable? I'm presuming we could use DEBUG=True or something to remove the 2FA requirement in local dev.
The text was updated successfully, but these errors were encountered: