mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-05 23:38:25 -04:00
Fix issue where exception thrown when user does not activate email but successfully completes forgotten-password flow (which includes 2f)
This commit is contained in:
@@ -28,7 +28,6 @@ from app.main.forms import LoginForm
|
||||
|
||||
@main.route('/sign-in', methods=(['GET', 'POST']))
|
||||
def sign_in():
|
||||
|
||||
if current_user and current_user.is_authenticated:
|
||||
return redirect(url_for('main.choose_service'))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user