#2656: After creating a new user with create_user, calling login is failed
-------------------------------+--------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: adrian
Type: defect | Status: closed
Priority: normal | Milestone:
Component: Core framework | Version:
Severity: normal | Resolution: invalid
Keywords: |
-------------------------------+--------------------------------------------
Changes (by anonymous):
* resolution: => invalid
* status: new => closed
Comment:
Yes, you MUST call authenticate, as authenticate actually logs in the user
and sets up the login cookie, etc. While creating a user does not log them
in (and should NOT as its a model operation only). These are two VERY
different operations.
--
Ticket URL: <http://code.djangoproject.com/ticket/2656>
Django <http://code.djangoproject.org/>
The web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---