Ticket #17236: patch.diff

File patch.diff, 592 bytes (added by Christopher Medrela, 11 years ago)
  • django/contrib/auth/__init__.py

    diff --git a/django/contrib/auth/__init__.py b/django/contrib/auth/__init__.py
    index 141cac7..9a7b205 100644
    a b def authenticate(**credentials): 
    5555def login(request, user):
    5656    """
    5757    Persist a user id and a backend in the request. This way a user doesn't
    58     have to reauthenticate on every request.
     58    have to reauthenticate on every request. Note that when logging in session,
     59    data set during the anonymous session is retained.
    5960    """
    6061    if user is None:
    6162        user = request.user
Back to Top