Repair human friendly errors with additional message

This commit is contained in:
Ray 2023-10-10 08:25:52 +00:00 committed by GitHub
parent 5aadd3793d
commit 84f376f1ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 3 deletions

View File

@ -57,6 +57,10 @@ export function Signin( props ) {
case "auth/invalid-login-credentials" : case "auth/invalid-login-credentials" :
setErrorCode("Credentials supplied is not in our system") setErrorCode("Credentials supplied is not in our system")
break break
case "auth/user-not-found" :
setErrorCode("Credentials supplied is not in our system")
break
break
default: default:
break break
} }