Changeset 3929
- Timestamp:
- 10/24/06 12:00:03 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/django/contrib/comments/views/comments.py
r3411 r3929 218 218 # If user gave correct username/password and wasn't already logged in, log them in 219 219 # so they don't have to enter a username/password again. 220 if manipulator.get_user() and n ew_data.has_key('password') and manipulator.get_user().check_password(new_data['password']):220 if manipulator.get_user() and not manipulator.get_user().is_authenticated() and new_data.has_key('password') and manipulator.get_user().check_password(new_data['password']): 221 221 from django.contrib.auth import login 222 222 login(request, manipulator.get_user())
