feat: implements user account recovery #5236
Merged
Conversation
Collaborator
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Contributor
Greptile SummaryThis PR implements a comprehensive account recovery feature that allows users to regain access to their accounts when they lose access to their SSO authentication method or need to reset their password. The implementation adds new Key Changes:
Security Improvements:
Critical Issues Found:
Confidence Score: 2/5
Important Files Changed
|
victorvhs017
requested changes
Jan 23, 2026
c54ceec to
1d6cbf3
Compare
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.

Context
If you originally signed in using Google SSO and later your email address changes, the system may treat this as a new account—even if your old email still exists as an alias. Because the login is tied to Google OAuth, the new email results in a separate account instead of linking to your existing one.
Account recovery solves this by sending a verification email and allowing you to enable email-based authentication for your SSO account, so you can regain access to the original account.
Screenshots
Screenshots
Email Templates
SSO User Account Recovery
Email User Account Recovery
Account Recovery Steps
Steps to verify the change
Type
Checklist
type(scope): short description(scope is optional, e.g.,fix: prevent crash on syncorfix(api): handle null response).