Changeset 6805
- Timestamp:
- 12/01/07 13:52:53 (1 year ago)
- Files:
-
- django/trunk/docs/authentication.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/authentication.txt
r6743 r6805 337 337 else: 338 338 # Return an 'invalid login' error message. 339 340 .. admonition:: Calling ``authenticate()`` first 341 342 When you're manually logging a user in, you *must* call 343 ``authenticate()`` before you call ``login()``; ``authenticate()`` 344 sets an attribute on the ``User`` noting which authentication 345 backend successfully authenticated that user (see the `backends 346 documentation`_ for details), and this information is needed later 347 during the login process. 348 349 .. _backends documentation: #other-authentication-sources 339 350 340 351 Manually checking a user's password
