django-two-factor-auth can't access admin site
问题 I am using django-two-factor-auth for a webapp. I cannot access the admin page. I know I am entering the correct credentials. When I input incorrect credentials, I get an appropriate error message. When I input the correct credentials, the page simply reloads with this URL: http://localhost:8080/account/login/?next=/inveskore/ These are my settings related to two_factor: LOGIN_URL = 'two_factor:login' LOGIN_REDIRECT_URL = '/inveskore' TWO_FACTOR_SMS_GATEWAY = 'two_factor.gateways.twilio