Hi everyone,
I’m trying to change the error on the password field for Create account option when the conditions for a strong password are not met. I tried modifying the LanguageDictionary options but it fails to accept it.
This is the link which you can use to test it:
https://cleanelectricity-dev.us.auth0.com/login
languageDictionary = {
error: {
signUp: {
‘lock.fallback’: <p> We have encountered an error registering your account. Here are a few possibilities: <ol> <li>Make sure you enter the email address that you used to enroll. Haven’t enrolled yet?<a href="https://go.cleanchoiceenergy.com/find-your-solar-farm/"> Check availability</a>.</li> <li>Have you enrolled recently? Your online account may not be ready yet - you’ll be notified by email when it’s ready.</li> <li>If you think this is an error, contact customer care at 1-800-240-2241.</li> </ol> </p>
},
login: {
‘lock.fallback’: <p> There was a problem on login. Possible reasons: <ol> <li>Incorrect email/password.</li> <li>We improved our customer portal experience. You need to create a new portal account to access the new portal. Click “Create account” below to create your new portal account.</li> </ol> </p>
,
}
},
blankErrorHint: ‘This field cannot be blank’,
emailInputPlaceholder: ‘Email’,
invalidErrorHint: ‘Invalid email address’,
passwordInputPlaceholder: ‘Password’,
signUpSubmitLabel: ‘Create account’,
loginLabel: ‘Log in’,
loginSubmitLabel: ‘Log in’,
signUpLabel: ‘Create account’,
signUpTerms: ‘Signup terms.’,
forgotPasswordInstructions : “We’ll send you an email with a link to reset your password”
};
I’ve tested every solution listed on the following link and nothing works.
P.S: When one tries to create an account with an invalid email (test123, for example), the error given used to be “Invalid”. I modified it using the following property because nothing else worked, however I assume this is not the correct way to do it:
invalidErrorHint: ‘Invalid email address’
Can you point me in the right direction?