mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-24 23:04:00 +08:00
parent
bd5bcf075d
commit
4bd5c9ecba
1 changed files with 3 additions and 0 deletions
|
@ -361,6 +361,9 @@ export function signIn(): void {
|
|||
message = "Incorrect password";
|
||||
} else if (error.code === "auth/user-not-found") {
|
||||
message = "User not found";
|
||||
} else if (error.code === "auth/invalid-email") {
|
||||
message =
|
||||
"Invalid email format (make sure you are using your email to login - not your username)";
|
||||
}
|
||||
Notifications.add(message, -1);
|
||||
LoginPage.hidePreloader();
|
||||
|
|
Loading…
Reference in a new issue