Repository navigation
fix(auth): enforce email verification and fix password recovery flow - #21
Open
Methasit-Pun wants to merge 3 commits into
Open
Methasit-Pun wants to merge 3 commits into
Methasit-Pun wants to merge 3 commits into
Conversation
- Gate reset-password form behind PASSWORD_RECOVERY event by exchanging the recovery code client-side instead of server-side, so a regular logged-in user cannot reach the reset form directly - Replace register-success auto-redirect with an email verification gate so users must confirm their email before accessing the app - Fix Remember Me to use localStorage instead of sessionStorage so the session actually persists across browser restarts - Replace all hardcoded production URLs with requestUrl.origin / window.location.origin so email links work in dev and staging environments - Remove user profile data from localStorage (XSS exposure) - Remove setTimeout(1000) DB trigger hack in register flow - Move Supabase client to module level across all auth pages - Remove dead LineLoginButton import and all debug console.log statements - Fix catchLookupError: any → unknown in login handler
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.