mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-06 00:48:46 -04:00
Move redirect_to_signin helper to new util module
We'll expand this module in later commits.
This commit is contained in:
@@ -16,7 +16,8 @@ from app import user_api_client
|
||||
from app.main import main
|
||||
from app.main.forms import TwoFactorForm
|
||||
from app.models.user import User
|
||||
from app.utils import is_less_than_days_ago, redirect_to_sign_in
|
||||
from app.utils import is_less_than_days_ago
|
||||
from app.utils.login import redirect_to_sign_in
|
||||
|
||||
|
||||
@main.route('/two-factor-email-sent', methods=['GET'])
|
||||
|
||||
Reference in New Issue
Block a user