#27840: Password reset: `post_reset_login` throws KeyError if user already
logged
in
-------------------------------------------+------------------------
Reporter: Quentin Marlats | Owner: nobody
Type: Bug | Status: new
Component: contrib.auth | Version: 1.11
Severity: Normal | Keywords: auth
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------------+------------------------
When the option `post_reset_login` of `PasswordResetConfirmView` is set to
`True`, it throws `KeyError` when the user is already logged in. I think
you should check if the user is not already logged in before logging in
him to avoid this error.
--
Ticket URL: <https://code.djangoproject.com/ticket/27840>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/051.efac5524daefab639a60bba5ae798725%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.