auth.backends.RemoteUserBackend.user_can_authenticate()

RemoteUserBackend.user_can_authenticate()

New in Django 1.10.

Returns whether the user is allowed to authenticate. This method returns False for users with is_active=False. Custom user models that don’t have an is_active field are allowed.

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

Please login to continue.