mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 07:46:23 -04:00
Fix for email update.
This commit is contained in:
@@ -74,7 +74,7 @@ def user_profile_email_authenticate():
|
|||||||
|
|
||||||
if form.validate_on_submit():
|
if form.validate_on_submit():
|
||||||
session[NEW_EMAIL_PASSWORD_CONFIRMED] = True
|
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 redirect(url_for('.user_profile_email_confirm'))
|
||||||
|
|
||||||
return render_template(
|
return render_template(
|
||||||
|
|||||||
Reference in New Issue
Block a user