Ticket #12113: document_inactive_user_behavior.diff

File document_inactive_user_behavior.diff, 886 bytes (added by Ethan Jucovy, 14 years ago)
  • docs/topics/auth.txt

     
    103103        using the methods like :meth:`~models.User.has_perm` does check this
    104104        flag and will always return ``False`` for inactive users.
    105105
     106        However, note that the default ``AuthenticationForm`` used by the provided
     107        ``django.contrib.auth.views.login`` view does reject inactive users from
     108        logging in.
     109
    106110    .. attribute:: models.User.is_superuser
    107111
    108112        Boolean. Designates that this user has all permissions without
     
    970974
    971975    A form for logging a user in.
    972976
     977    The ``AuthenticationForm`` rejects users whose ``is_active`` flag is set to ``False``.
     978
    973979.. class:: PasswordChangeForm
    974980
    975981    A form for allowing a user to change their password.
Back to Top