Revert user_profile back original

This change shouldn't be in this PR and got in somehow :(
This commit is contained in:
imdadahad
2016-11-14 16:49:25 +00:00
committed by GitHub
parent 5ce0cbe1db
commit 49082ab646

View File

@@ -202,7 +202,7 @@ def user_profile_password():
if form.validate_on_submit():
current_user.set_password(form.new_password.data)
user_api_client.update_user_password(current_user.id, form.new_password.data)
user_api_client.update_user(current_user)
return redirect(url_for('.user_profile'))
return render_template(