Ticket #13226: auth.txt.patch
File auth.txt.patch, 747 bytes (added by , 15 years ago) |
---|
-
django-trunk/docs/topics/auth.txt
821 821 :ref:`authentication-backends`) you can pass a custom authentication form 822 822 to the login view via the ``authentication_form`` parameter. This form must 823 823 accept a ``request`` keyword argument in its ``__init__`` method, and 824 provide a ``get_user`` argumentwhich returns the authenticated user object824 provide a ``get_user`` method which returns the authenticated user object 825 825 (this method is only ever called after successful form validation). 826 826 827 827 .. _forms documentation: ../forms/