auth.backends.RemoteUserBackend.clean_username()

RemoteUserBackend.clean_username(username)

Performs any cleaning on the username (e.g. stripping LDAP DN information) prior to using it to get or create a User object. Returns the cleaned username.

doc_Django
2016-10-09 18:34:07
Comments
Leave a Comment

Please login to continue.