Move redirect_to_signin helper to new util module

We'll expand this module in later commits.
This commit is contained in:
Ben Thorner
2021-06-14 11:09:42 +01:00
parent edb0b8214d
commit 3250f2b3ed
6 changed files with 20 additions and 24 deletions

View File

@@ -4,7 +4,7 @@ from app import user_api_client
from app.main import main
from app.main.forms import TextNotReceivedForm
from app.models.user import User
from app.utils import redirect_to_sign_in
from app.utils.login import redirect_to_sign_in
@main.route('/resend-email-verification')