calebthewood / flask-warbler

0 stars 0 forks source link

Make a Change Password Form #7

Open calebthewood opened 2 years ago

calebthewood commented 2 years ago

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.