feat: implement email verification and password reset features
- Add EmailTokenService for handling email verification and password reset tokens. - Create EmailService for sending verification and reset emails via SMTP. - Update AuthService to handle email verification status during login. - Modify user registration to redirect to a check email screen instead of issuing a token. - Implement resend verification email functionality. - Add deep link handling for email verification and password reset in the mobile app. - Update mobile app routes and components to support new email verification flow. - Enhance error handling for unverified emails during login attempts. - Update configuration to include SMTP settings for email service.
This commit is contained in:
@@ -65,6 +65,9 @@ base64 = "0.22"
|
||||
# PDF generation
|
||||
printpdf = "0.7"
|
||||
|
||||
# Email (SMTP)
|
||||
lettre = { version = "0.11", features = ["smtp-transport", "tokio1-rustls-tls", "builder"], default-features = false }
|
||||
|
||||
# Async trait
|
||||
async-trait = "0.1"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user