-
Notifications
You must be signed in to change notification settings - Fork 106
Closed
Description
It would be very useful to have the _LDAPUser.authenticate() method pass the request object to the ldap_error signal.
The specifc use case here is that if there is a connection issue (SERVER_DOWN) with the ldap server, I would like to feed that back to the user attempting to log in, via the django.contrib.messages module. This in turn requires a request object in order to route the message to the user's session.
Please let me know if a pull request would be accepted for this. Perhaps it would be consistent to pass the request object to the populate_user signal as well.
Metadata
Metadata
Assignees
Labels
No labels