mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-07 12:08:25 -04:00
Merge branch 'master' into platform-admin
This commit is contained in:
@@ -16,7 +16,6 @@ from app.main.forms import TwoFactorForm
|
|||||||
@main.route('/two-factor', methods=['GET', 'POST'])
|
@main.route('/two-factor', methods=['GET', 'POST'])
|
||||||
def two_factor():
|
def two_factor():
|
||||||
# TODO handle user_email not in session
|
# TODO handle user_email not in session
|
||||||
|
|
||||||
try:
|
try:
|
||||||
user_id = session['user_details']['id']
|
user_id = session['user_details']['id']
|
||||||
except KeyError:
|
except KeyError:
|
||||||
|
|||||||
Reference in New Issue
Block a user