mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-09 04:43:12 -04:00
rename two_factor to two_factor_sms
it's a bit confusing now that there are three endpoints. the other two are already renamed two_factor_email and two_factor_webauthn
This commit is contained in:
@@ -46,7 +46,7 @@ def sign_in():
|
||||
invited_user.accept_invite()
|
||||
if user and user.sign_in():
|
||||
if user.sms_auth:
|
||||
return redirect(url_for('.two_factor', next=redirect_url))
|
||||
return redirect(url_for('.two_factor_sms', next=redirect_url))
|
||||
if user.email_auth:
|
||||
return redirect(url_for('.two_factor_email_sent', next=redirect_url))
|
||||
if user.webauthn_auth:
|
||||
|
||||
Reference in New Issue
Block a user