Fix issue #78
This commit is contained in:
Mikhail Sidorov 2018-02-01 23:57:45 +12:00 committed by GitHub
parent 60709a8bad
commit 839a116b1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ def user_popup(username):
@bp.route('/edit_profile', methods=['GET', 'POST'])
@login_required
def edit_profile():
form = EditProfileForm(current_user.username)
form = EditProfileForm(request.form)
if form.validate_on_submit():
current_user.username = form.username.data
current_user.about_me = form.about_me.data