Add collection of user metadata: name and company
This commit is contained in:
parent
909be766c9
commit
0f2eb61f4a
14 changed files with 178 additions and 33 deletions
|
@ -399,7 +399,10 @@ def confirm_email():
|
|||
user_analytics.change_email(old_email, new_email)
|
||||
|
||||
common_login(user)
|
||||
return redirect(url_for('web.user', tab='email') if new_email else url_for('web.index'))
|
||||
if model.user.has_user_prompts(user):
|
||||
return redirect(url_for('web.updateuser'))
|
||||
else:
|
||||
return redirect(url_for('web.user', tab='email') if new_email else url_for('web.index'))
|
||||
|
||||
|
||||
@web.route('/recovery', methods=['GET'])
|
||||
|
|
Reference in a new issue