Skip to content

Commit

Permalink
Update error text for Mozilla Accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
ctbfourone committed Jan 12, 2024
1 parent c237997 commit 981ac58
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dashboard/oidc_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,10 @@ def error_message(self):
</a> to setup your device, then try logging in again.'
elif error_code == "fxarequiremfa":
error_text = 'Please <a href="https://support.mozilla.org/kb/secure-firefox-account-two-step-authentication">\
secure your Firefox Account with two-step authentication</a>, \
secure your Mozilla Account with two-step authentication</a>, \
then try logging in again.\n<br/><br/>\n\
If you have just setup your security device and you see this message, please log out of \
<a href="https://accounts.firefox.com">Firefox Accounts</a> (click the "Sign out" button), then \
<a href="https://accounts.firefox.com">Mozilla Accounts</a> (click the "Sign out" button), then \
log back in.'
elif error_code == "notingroup":
error_text = "Sorry, you do not have permission to access {client}. \
Expand Down Expand Up @@ -138,7 +138,7 @@ def error_message(self):
elif error_code == "aai_failed":
error_text = "{client} requires you to setup additional security measures for your account, \
such as enabling multi-factor authentication (MFA) or using a safer authentication method (such as a \
Firefox Account login). You will not be able to login until this is \
Mozilla Account login). You will not be able to login until this is \
done.".format(
client=self.data.get("client")
)
Expand Down

0 comments on commit 981ac58

Please sign in to comment.