Skip to content

fix: add show/hide password toggle to login modal#1064

Open
RudraMalvankar wants to merge 1 commit into
Charushi06:mainfrom
RudraMalvankar:fix/show-hide-password
Open

fix: add show/hide password toggle to login modal#1064
RudraMalvankar wants to merge 1 commit into
Charushi06:mainfrom
RudraMalvankar:fix/show-hide-password

Conversation

@RudraMalvankar
Copy link
Copy Markdown

Related Issue

Closes #1063

Summary

Added a show/hide password toggle to the login modal, allowing users to verify their password before submitting the form and improving the overall login experience.

Changes Made

  • Added a password visibility toggle button (👁️) next to the password field.
  • Implemented JavaScript logic to switch between password and text input types.
  • Updated the toggle icon dynamically based on the current visibility state.
  • Preserved existing password validation and authentication functionality.

Testing

  • Verified that the password is hidden by default.
  • Verified that clicking the toggle button reveals the password.
  • Verified that clicking the toggle button again hides the password.
  • Confirmed that login and signup validation continue to work as expected.
  • Tested locally in the browser.

Screenshots

Before:

  • Password field did not provide any way to view entered text.

After:

  • Password field includes a visibility toggle button.
  • Users can switch between hidden and visible password states.

Checklist

  • Code follows project style
  • Tested locally
  • No unrelated changes included
  • Documentation updated (if applicable)

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.

bug: [UX] Add show/hide password toggle on login page

1 participant