#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 ubernostrum):
* resolution: => invalid
* status: reopened => closed
Comment:
I think you're misunderstanding the names of the functions. `login`
'''does not''' display a login form, or ask for credentials.
`authenticate` does. The purpose of the `login` function is to persist the
user's identifying information in their session so they won't have to
authenticate again and again and again. Therefore, any sort of "switch
user" functionality '''must''' rely on `authenticate`.
Closing again.
--
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
-~----------~----~----~----~------~----~------~--~---