mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 14:09:20 -04:00
If new sms requested, then check and send redirected to two factor
in all cases but should have redirected to verify for pending users.
This commit is contained in:
@@ -17,6 +17,7 @@ from app.main.forms import TwoFactorForm
|
||||
@main.route('/two-factor', methods=['GET', 'POST'])
|
||||
def two_factor():
|
||||
# TODO handle user_email not in session
|
||||
|
||||
try:
|
||||
user_id = session['user_details']['id']
|
||||
except KeyError:
|
||||
|
||||
Reference in New Issue
Block a user