Skip to content

Commit

Permalink
Merge pull request #485 from mozilla-iam/moz-acct-error-text
Browse files Browse the repository at this point in the history
Update references to Firefox Accounts -> Mozilla Accounts
  • Loading branch information
ctbfourone committed Feb 1, 2024
2 parents 1bf1032 + 1ede6e6 commit aa90f12
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dashboard/oidc_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def _get_connection_name(self, connection):
CONNECTION_NAMES = {
"google-oauth2": "Google",
"github": "GitHub",
"firefoxaccounts": "Firefox Accounts",
"firefoxaccounts": "Mozilla Accounts",
"Mozilla-LDAP-Dev": "LDAP",
"Mozilla-LDAP": "LDAP",
"email": "passwordless email",
Expand Down 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 aa90f12

Please sign in to comment.