Auth - #9
Merged
Merged
Conversation
…d vendor registration This commit introduces a comprehensive authentication system including: - Sign-in and sign-up pages with form validation - Vendor registration flow - Database schema and migrations for auth - API routes for auth handlers - Client-side auth utilities and hooks - Password validation and security features - Social login integration (GitHub, Google) - Session management
- Add 2FA support with email verification codes - Create security settings UI for enabling/disabling 2FA - Implement OTP input component and email templates - Add user menu dropdown with profile links - Update auth schema to support 2FA configuration - Move toast notifications to bottom-right
…reation - Implement vendor registration flow with personal and store info steps - Add vendor and shop schemas to database - Create slug utilities for shop URLs - Add admin plugin for role-based access control - Implement vendor registration server function with validation
- Replace mock user data with actual session user from auth client - Update VendorUserMenu to handle nullable user fields and implement sign out - Add conditional rendering to show sign-in button when user is not authenticated - Use auth client's signOut function for proper session termination
Protect vendor dashboard routes by requiring a valid session. Unauthenticated users are redirected to the sign-in page.
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the 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. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.