Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#14031 closed (invalid)

NewPasswordForm

Reported by: harrie.bos@… Owned by: nobody
Component: Forms Version: 1.2
Severity: Keywords: NewPasswordForm SetPasswordForm
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

I'd like to see a small change in the django.contrib.auth.forms

SetPasswordForm needs a user in order to use, PasswordChangeForm needs an old password.
I've editted one of those to create a NewPasswordForm wich you can use in combination with a registration form for instance.

Attachments (1)

forms.py (741 bytes) - added by harrie.bos@… 6 years ago.

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by harrie.bos@…

Attachment: forms.py added

comment:1 Changed 6 years ago by rafen

Resolution: invalid
Status: newclosed

Auth doesn't seems to be the place to put the form that you have submit.
Actually the form is only providing a clean method that check the equality of two passwords and no other functionality.
It could be better if you put it in your own privates libraries.

comment:2 Changed 5 years ago by Jacob

milestone: 1.3

Milestone 1.3 deleted

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