Skip to content

fix(feat): Remove password criteria from login interface#945

Open
Himanshux19 wants to merge 1 commit into
Charushi06:mainfrom
Himanshux19:fix-hide-password-criteria-login
Open

fix(feat): Remove password criteria from login interface#945
Himanshux19 wants to merge 1 commit into
Charushi06:mainfrom
Himanshux19:fix-hide-password-criteria-login

Conversation

@Himanshux19
Copy link
Copy Markdown

Related Issue

Closes #806

Summary

Removed password requirement criteria from the Login interface and displayed them only on the Sign Up interface. Also ensured password format validation is applied only during account creation.

Changes Made

  • Added conditional rendering for password criteria.
  • Hide password criteria by default on the Login screen.
  • Displayed password criteria only when the user switches to Sign Up mode.
  • Restricted password format validation to the Sign Up flow.
  • Kept the Login interface focused on authentication-related fields only.

Testing

Tested locally by performing the following checks:

  1. Opened the application and verified that password criteria are not displayed on the Login screen.
  2. Switched to Sign Up mode and verified that password criteria become visible.
  3. Switched back to Login mode and verified that password criteria are hidden again.
  4. Tested Sign Up with invalid passwords and confirmed validation messages appear correctly.
  5. Tested Login with existing credentials and confirmed password creation rules are not enforced during authentication.

Screenshots

Before

Password criteria were visible on both Login and Sign Up screens.
image

After

image

Password criteria are visible only on the Sign Up screen and hidden on the Login screen.

Checklist

  • Code follows project style
  • Tested locally
  • No unrelated changes included

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Remove password criteria from login interface

1 participant