Wrong verification code for passwordless login shows "WE'RE SORRY, SOMETHING WENT WRONG" message to user

Hi @Joe-FS,

You can customize Lock error messages via the Language Dictionary.

For example:

languageDictionary = { 
        title: config.dict.signin.title,
        error: {
          passwordless: {
           // User enters incorrect code
            invalid_user_password: 'Wrong password',
           // User does not enter code (i.e. leaves field blank)
            'bad.verification_code': 'Bad verification code'
          }
        }
      };

Screen Shot 2021-01-15 at 14.15.26 Screen Shot 2021-01-15 at 14.08.50

2 Likes