current password
new password
new password again, for confirmation
If the user is logged in and they provide the right password and their new passwords match, change their password.
Hint: do this by making a new method on the User class, rather than hard-coding stuff about password hashing in the view function.
Make a form with three fields:
current password new password new password again, for confirmation If the user is logged in and they provide the right password and their new passwords match, change their password.
Hint: do this by making a new method on the User class, rather than hard-coding stuff about password hashing in the view function.