-
-
Notifications
You must be signed in to change notification settings - Fork 84
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
Lucia branch: Suggestion: Send email after successful sign up #132
Comments
I sort of intentionally left it open for the developer using this starter project to implement email or sms notifications on their own because it's opinionated. You need to decide what provider to use and what you want to include in the email. You also might want to require email verification before you allow access. I added one email example for sending a password reset email via Resend. https://github.com/timothymiller/t4-app/blob/lucia/packages/api/src/auth/user.ts#L205-L223 |
Ah yeah. (I'm using Resend for now, but the email sending logic could stay the same regardless of the actual provider that people will use.) |
I agree with this. I will implement a PR. |
@timothymiller FYI here are the new docs getting created around email verification for lucia v3 - https://v3.lucia-auth.com/guides/email-and-password/email-verification-codes |
Currently the user receives no email when signing up successfully.
Suggestion: Send email to user after successful sign up.
The text was updated successfully, but these errors were encountered: