bad-creds-show
This commit is contained in:
parent
8b5b5a609f
commit
914f9a6a7b
|
@ -99,7 +99,8 @@ export const LoginForm = () => {
|
||||||
console.warn('[signIn] errors: ', errors)
|
console.warn('[signIn] errors: ', errors)
|
||||||
errors.forEach((error) => {
|
errors.forEach((error) => {
|
||||||
switch (error.message) {
|
switch (error.message) {
|
||||||
case 'user has not signed up email & password': {
|
case 'user has not signed up email & password':
|
||||||
|
case 'bad user credentials': {
|
||||||
setValidationErrors((prev) => ({
|
setValidationErrors((prev) => ({
|
||||||
...prev,
|
...prev,
|
||||||
password: t('Something went wrong, check email and password'),
|
password: t('Something went wrong, check email and password'),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user