Skip to content

Commit 53d6b2c

Browse files
committed
demo app
1 parent ac48659 commit 53d6b2c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/auth/demo/src/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,9 @@ function onAuthError(error) {
316316
if (error.code === 'auth/user-token-expired') {
317317
alertError('Token expired, please reauthenticate.');
318318
}
319+
if (error.code === 'auth/invalid-credential') {
320+
alertError('login credentials invalid. It is possible that the email/password combination does not exist.');
321+
}
319322
}
320323
}
321324

0 commit comments

Comments
 (0)