From 91bd3e9fdb05e7697a20ff32adadc5bba122d63e Mon Sep 17 00:00:00 2001 From: Nicholas Staples Date: Wed, 27 Jan 2016 17:30:48 +0000 Subject: [PATCH] Fix for email update. --- app/main/views/user_profile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main/views/user_profile.py b/app/main/views/user_profile.py index 727e7f986..bcb138698 100644 --- a/app/main/views/user_profile.py +++ b/app/main/views/user_profile.py @@ -74,7 +74,7 @@ def user_profile_email_authenticate(): if form.validate_on_submit(): session[NEW_EMAIL_PASSWORD_CONFIRMED] = True - users_dao.send_verify_code(current_user.id, 'email', to=session[NEW_EMAIL]) + send_verify_code(current_user.id, 'email', to=session[NEW_EMAIL]) return redirect(url_for('.user_profile_email_confirm')) return render_template(