Skip to content

feat(auth): add email verification and password reset functionality - #28

Merged
li4nee merged 1 commit into
stagingfrom
authFixes
Jul 13, 2026
Merged

li4nee merged 1 commit into
stagingfrom
authFixes

Conversation

@li4nee

@li4nee li4nee commented Jul 13, 2026

Copy link
Copy Markdown
Owner
  • Introduced VerifyEmailDTO for email verification requests.
  • Updated user repository to exclude sensitive fields from queries.
  • Enhanced auth routes to include signup, resend verification email, and verify email endpoints.
  • Implemented email verification logic in AuthService, including token generation and sending verification emails.
  • Added password reset functionality with token generation and email notifications.
  • Created utility functions for building email templates and sending emails via Resend API.
  • Implemented caching for API keys to improve performance and reduce database load.
  • Updated client service to handle user signup and client creation with email verification.
  • Added error handling for unverified email during login attempts.
  • Introduced new error types for better error management.

- Introduced VerifyEmailDTO for email verification requests.
- Updated user repository to exclude sensitive fields from queries.
- Enhanced auth routes to include signup, resend verification email, and verify email endpoints.
- Implemented email verification logic in AuthService, including token generation and sending verification emails.
- Added password reset functionality with token generation and email notifications.
- Created utility functions for building email templates and sending emails via Resend API.
- Implemented caching for API keys to improve performance and reduce database load.
- Updated client service to handle user signup and client creation with email verification.
- Added error handling for unverified email during login attempts.
- Introduced new error types for better error management.
@li4nee
li4nee merged commit 5e23f5c into staging Jul 13, 2026
2 checks passed
@coderabbitai

coderabbitai Bot commented Jul 13, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 327603f6-ee07-446b-a14c-d936664b0adc

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch authFixes

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

1 participant