Skip to content

fix(auth): Added EMAIL_EXISTS Auth error message.#141

Merged
hiranya911 merged 1 commit intofirebase:masterfrom
kcieslinski:master
Feb 3, 2020
Merged

fix(auth): Added EMAIL_EXISTS Auth error message.#141
hiranya911 merged 1 commit intofirebase:masterfrom
kcieslinski:master

Conversation

@kcieslinski
Copy link
Copy Markdown
Contributor

@kcieslinski kcieslinski commented Feb 2, 2020

Added missing EMAIL_EXISTS Auth error message.
Not sure if the DUPLICATE_EMAIL message is already deprecated, as firebase api documentation is not clear about this for me.

RELEASE NOTE: User management APIs now correctly raise ErrorCode.AlreadyExists when an already in-use email address is specified for a user.

@hiranya911
Copy link
Copy Markdown
Contributor

Thanks @kcieslinski. We need to handle both error codes. See firebase/firebase-admin-python#348 for some more context.

@hiranya911 hiranya911 changed the title Added EMAIL_EXISTS Auth error message. fix(auth): Added EMAIL_EXISTS Auth error message. Feb 3, 2020
@hiranya911 hiranya911 self-assigned this Feb 3, 2020
Copy link
Copy Markdown
Contributor

@hiranya911 hiranya911 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@hiranya911 hiranya911 merged commit e641899 into firebase:master Feb 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants