Skip to content

Add option to hook "createUserWithEmailAndPassword" for enabling email verification sendout #125

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 16, 2021

Conversation

dohomi
Copy link
Contributor

@dohomi dohomi commented Mar 12, 2021

I added an option to send out the email verification after successful creation.
Let me know what you think about this.

I added an option to send out the email verification after successful creation. 
Let me know what you think about this.
@chrisbianca chrisbianca merged commit b05bd77 into CSFrequency:master Mar 16, 2021
@chrisbianca
Copy link
Contributor

Thanks @dohomi, this is a nice addition to the functionality. I'll get some documentation added and a new release shortly

@dohomi
Copy link
Contributor Author

dohomi commented Mar 17, 2021

@chrisbianca I kind of overlooked that the function takes props for example to set a redirect URL (which most likely everybody sets to redirect back to the application)

user.sendEmailVerification(options: firebase.auth.ActionCodeSettings)

I can open a second PR to pass this options in as well

@chrisbianca
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants