FEATURE: Disallow login via omniauth when user has 2FA enabled.

This commit is contained in:
Guo Xiang Tan
2018-03-01 15:47:07 +08:00
parent 0fabf80dca
commit fb75f188ba
7 changed files with 77 additions and 25 deletions

View File

@ -1140,6 +1140,7 @@ en:
not_allowed_from_ip_address: "You can't login from that IP address."
admin_not_allowed_from_ip_address: "You can't log in as admin from that IP address."
resend_activation_email: "Click here to send the activation email again."
omniauth_disallow_totp: "Your account has 2FA enabled. Please login with your password."
resend_title: "Resend Activation Email"
change_email: "Change Email Address"