Ticket #12113: document_inactive_user_behavior.diff
File document_inactive_user_behavior.diff, 886 bytes (added by , 15 years ago) |
---|
-
docs/topics/auth.txt
103 103 using the methods like :meth:`~models.User.has_perm` does check this 104 104 flag and will always return ``False`` for inactive users. 105 105 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 106 110 .. attribute:: models.User.is_superuser 107 111 108 112 Boolean. Designates that this user has all permissions without … … 970 974 971 975 A form for logging a user in. 972 976 977 The ``AuthenticationForm`` rejects users whose ``is_active`` flag is set to ``False``. 978 973 979 .. class:: PasswordChangeForm 974 980 975 981 A form for allowing a user to change their password.