Added password security (visibility toggle, strength meter, generator)#85
Open
AA1-34-Ganesh wants to merge 5 commits intotarinagarwal:mainfrom
Open
Added password security (visibility toggle, strength meter, generator)#85AA1-34-Ganesh wants to merge 5 commits intotarinagarwal:mainfrom
AA1-34-Ganesh wants to merge 5 commits intotarinagarwal:mainfrom
Conversation
Community-Programmer
requested changes
Jan 7, 2026
Collaborator
Community-Programmer
left a comment
There was a problem hiding this comment.
Please use Zod for validation and remove the custom password logic. Also ensure this PR is implemented in coordination with PR #92 so both sides rely on the same Zod schema and the password policy remains unified
Author
|
"Updates pushed! Schema Alignment: I have adopted the Zod schema structure from PR #92 to ensure the frontend validation rules match the backend exactly. Generator Fix: Updated the 'Suggest Password' logic to guarantee it includes at least one character from every required category (Special, Number, Upper, Lower), so generated passwords never fail validation. UI Feedback: The input now displays specific Zod error messages (e.g., 'Missing uppercase') to guide the user.
|
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.


📝 Description
I have implemented a reusable
PasswordInputcomponent to improve the security and user experience of the authentication forms. This component replaces the standard password input field in the Login and Signup forms.Key Features Added:
🔗 Related Issue
Closes #66
🏷️ Type of Change
📸 Screenshots (if applicable)
Strong:



Fair:
Good:
✅ Checklist
🧪 Testing
Test Scenarios Covered:
📋 Additional Notes
SWOC 2026 Participant: I am a SWOC 2026 participant.