Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Confirm Password Field #37

Open
5 tasks
Rizvi-Faiz opened this issue Oct 4, 2024 · 1 comment · May be fixed by #55
Open
5 tasks

Add Confirm Password Field #37

Rizvi-Faiz opened this issue Oct 4, 2024 · 1 comment · May be fixed by #55
Assignees
Labels
gssoc Issue Under GSSOC gssoc-ext Isssue under GSSOC extended hacktoberfest hacktoberfest-accepted level1 GSSOC: Level 1

Comments

@Rizvi-Faiz
Copy link
Contributor

Issue: Add Confirm Password Field

Description

The user registration form currently lacks a "Confirm Password" field. This enhancement is needed to allow users to verify their password input and reduce errors caused by typos during registration.

Requirements

  • Add a "Confirm Password" field below the existing password field.
  • The "Confirm Password" field should compare its value with the "Password" field.
  • If the passwords do not match, display an error message and prevent form submission.
  • Ensure the feature works with both client-side and server-side validation.

Expected Behavior

  • When the user enters a password in both fields and the values match, the form should proceed normally.
  • If the passwords do not match, an error message should be shown, and form submission should be blocked until the issue is resolved.

Tasks

  • Add "Confirm Password" field to the form.
  • Implement validation logic to compare passwords.
  • Display appropriate error message when passwords do not match.
  • Block form submission if the passwords do not match.
  • Add unit tests for the new field and validation logic.

Additional Notes

  • Consider accessibility (screen readers should correctly identify the fields and error messages).
  • Ensure compatibility with existing form validation logic.
  • Test for edge cases, such as empty fields or mismatched passwords during form resubmission.

Screenshots (if applicable)

image

@Rizvi-Faiz
Copy link
Contributor Author

@SanchitGeez can you assign this issue to me

@SanchitGeez SanchitGeez added gssoc-ext Isssue under GSSOC extended gssoc Issue Under GSSOC level1 GSSOC: Level 1 hacktoberfest hacktoberfest-accepted labels Oct 4, 2024
@Rizvi-Faiz Rizvi-Faiz linked a pull request Oct 5, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gssoc Issue Under GSSOC gssoc-ext Isssue under GSSOC extended hacktoberfest hacktoberfest-accepted level1 GSSOC: Level 1
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants