remove old /two-factor endpoint and update test names

we redirect people to `/two-factor-sms` since #26ad20719
This commit is contained in:
Leo Hemsted
2021-06-29 16:19:24 +01:00
parent c439cafd37
commit 71613dd942
2 changed files with 5 additions and 6 deletions
-1
View File
@@ -66,7 +66,6 @@ def two_factor_email(token):
return log_in_user(user_id)
@main.route('/two-factor', methods=['GET', 'POST'])
@main.route('/two-factor-sms', methods=['GET', 'POST'])
@redirect_to_sign_in
def two_factor_sms():