Incorrect success message from auth-lock options displayed (`logIn` message shown instead of `signUp`)
Describe the problem
Auth lock options are set correctly according to this example on github.
In success part, I have both logIn and signUp messages defined as stated above in example. On signUp success, message for logIn success is shown.
What was the expected behavior?
Correct message for signUp success is shown.
Reproduction
- Open logIn page
- Swith to signUp page
- Fill out email/pw and confirm
- Observe success message on signUp success
Environment
react version: 17.0.2 auth0-lock version: 11.32.0
👋🏻 Is the link to the example correct? I'm just getting one of the i18n translation files. Did you mean to link to a workable example?
Link is correct, I posted example of i18n translation files which is part of auth0lock config under languageDictionary key and we use almost the same dictionary in our project. There is nothing more to do with this config, it is just passed to auth-lock instance according to documentation:
const lock = new Auth0Lock(clientId, domain, options)
And as mentioned, options object is:
const options = {...options, languageDictionary: {} }