Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#27891 closed Bug (fixed)

Allow setting a login backend when using PasswordResetConfirmView

Reported by: Camilo Nova Owned by: Camilo Nova
Component: contrib.auth Version: 1.11
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: yes
Easy pickings: no UI/UX: no

Description

When using PasswordResetConfirmView and post_reset_login=True you get an error when having multiple AUTHENTICATION_BACKENDS you get this error:

You have multiple authentication backends configured and therefore must provide the backend argument or set the backend attribute on the user.

I will work on a patch to fix this.

Change History (5)

comment:1 by Camilo Nova, 8 years ago

Has patch: set
Owner: changed from nobody to Camilo Nova
Status: newassigned

comment:2 by Tim Graham, 8 years ago

Summary: Allow to set a login backend when using PasswordResetConfirmViewAllow setting a login backend when using PasswordResetConfirmView
Triage Stage: UnreviewedAccepted

comment:3 by Tim Graham, 8 years ago

Patch needs improvement: set

comment:4 by Tim Graham <timograham@…>, 8 years ago

Resolution: fixed
Status: assignedclosed

In 5db465d5:

Fixed #27891 -- Added PasswordResetConfirmView.post_reset_login_backend.

comment:5 by Tim Graham <timograham@…>, 8 years ago

In 33d2c53:

[1.11.x] Fixed #27891 -- Added PasswordResetConfirmView.post_reset_login_backend.

Backport of 5db465d5a6c389b8f9c6e21f7233be9387dc069d from master

Note: See TracTickets for help on using tickets.
Back to Top