Skip to content

Commit 7a8e2e7

Browse files
authored
Updated auth error code (#234)
1 parent 8d3925a commit 7a8e2e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/error.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ const AUTH_SERVER_TO_CLIENT_CODE: ServerToClientCode = {
618618
// Provided credential has insufficient permissions.
619619
INSUFFICIENT_PERMISSION: 'INSUFFICIENT_PERMISSION',
620620
// uploadAccount provides an email that already exists.
621-
DUPLICATE_EMAIL: 'EMAIL_EXISTS',
621+
DUPLICATE_EMAIL: 'EMAIL_ALREADY_EXISTS',
622622
// uploadAccount provides a localId that already exists.
623623
DUPLICATE_LOCAL_ID: 'UID_ALREADY_EXISTS',
624624
// setAccountInfo email already exists.

0 commit comments

Comments
 (0)