mirror of
https://github.com/reiyua/RaysBookClub.git
synced 2026-01-20 15:37:47 +00:00
Repair human friendly errors with additional message
This commit is contained in:
parent
5aadd3793d
commit
84f376f1ea
1 changed files with 7 additions and 3 deletions
|
|
@ -57,6 +57,10 @@ export function Signin( props ) {
|
|||
case "auth/invalid-login-credentials" :
|
||||
setErrorCode("Credentials supplied is not in our system")
|
||||
break
|
||||
case "auth/user-not-found" :
|
||||
setErrorCode("Credentials supplied is not in our system")
|
||||
break
|
||||
break
|
||||
default:
|
||||
break
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue