mirror of
https://github.com/TrentSPalmer/flask_photo_scaling_app.git
synced 2025-02-18 13:40:55 -08:00
fix style app/auth/profile.py
This commit is contained in:
parent
4b67a96f56
commit
4cb734be40
@ -26,7 +26,11 @@ def change_password():
|
|||||||
else:
|
else:
|
||||||
flash("Error Invalid Password")
|
flash("Error Invalid Password")
|
||||||
return(redirect(url_for('prof.change_password')))
|
return(redirect(url_for('prof.change_password')))
|
||||||
return render_template('change_password.html', title='Change Password', form=form)
|
return render_template(
|
||||||
|
'change_password.html',
|
||||||
|
title='Change Password',
|
||||||
|
form=form,
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
@prof.route("/edit-profile", methods=["GET", "POST"])
|
@prof.route("/edit-profile", methods=["GET", "POST"])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user