I'd raise a custom exception (e.g. "PasswordExpiredError") and handle
the message creation in the view.
On Jul 26, 3:59 pm, Steven Smith wrote:
> Is there a way to access the HttpResponse, or issue a redirect from
> within a custom authentication backend? I have Django
Is there a way to access the HttpResponse, or issue a redirect from
within a custom authentication backend? I have Django hooked up to our
Active Directory server, and it works perfectly except when the user's
password expires or they have "User must change password at next
login" set on their
2 matches
Mail list logo