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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.