Hi everyone.
I would like to implement two-factor authentication(2FA) to my project.
My project has “django-allauth” so users can login from url localhost/accounts/login.
To impletemet 2FA, I installed “django-two-factor-auth” to my project.
After the installation, login by creating QR code, registering to Google Authenticator, and typing in one-time-password was successful. The login url for this was localhost/account/login.
However, I could still login from localhost/accounts/login without the 2FA.
I would like to force it to use 2FA when logging in. How can I do this?
Thanks