зеркало из https://github.com/mozilla/mozillians.git
Update 2FA error wording.
This commit is contained in:
Родитель
fff9ef8378
Коммит
19b37bfb45
|
@ -167,7 +167,8 @@ class MozilliansAuthBackend(OIDCAuthenticationBackend):
|
|||
auth0_user_id=auth0_user_id)
|
||||
|
||||
if profile.groups.filter(is_access_group=True).exists() and not is_mfa:
|
||||
msg = 'Members and Curators of Access Groups cannot use Passwordless to login.'
|
||||
msg = ('Members and Curators of Access Groups need to use a 2FA'
|
||||
' authentication method to login.')
|
||||
messages.error(self.request, msg)
|
||||
return None
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче