Hi All,
When checking form validity with
form.is_valid()
after
form = AuthenticationForm(data=request.POST)
I get a False when the user is set to inactive. One would think a form can
be valid besides a user being disabled.
The reason, I want a seperate error messages for incorrect name/passwd
issues and an account being disabled.
code snippet: http://paste.pocoo.org/show/143049/
Thanx a lot.
--
self.url = www.gerardjp.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---