Skip to content

Tag: django-authentication

Django differentiate between incorrect login information and inactive user on login

Currently I added in my site a method for email confirmation when registering. What I saw though, is that when the user is registered, but didn’t click in the confirmation link yet and tries to login, I can’t differentiate between wrong user/password and not confirmed user. This is my login function: The problem is that when running form.is_valid() the authenticate