Fix argument name
This commit is contained in:
parent
2bc34431cf
commit
cae3aae8c9
|
@ -87,7 +87,7 @@ def user_popup(username):
|
||||||
@bp.route('/edit_profile', methods=['GET', 'POST'])
|
@bp.route('/edit_profile', methods=['GET', 'POST'])
|
||||||
@login_required
|
@login_required
|
||||||
def edit_profile():
|
def edit_profile():
|
||||||
form = EditProfileForm(urrent_user.username, request.form)
|
form = EditProfileForm(current_user.username, request.form)
|
||||||
if form.validate_on_submit():
|
if form.validate_on_submit():
|
||||||
current_user.username = form.username.data
|
current_user.username = form.username.data
|
||||||
current_user.about_me = form.about_me.data
|
current_user.about_me = form.about_me.data
|
||||||
|
|
Loading…
Reference in New Issue