Skip to content

feat: Add Password Visibility Toggle (Show/Hide) on Sign In Page #1013

@Vanshi-1210

Description

@Vanshi-1210

Problem

Currently, on the StudyPlan login/sign-in page, when a user enters their password, it only displays dots. There is no option or icon to toggle the password visibility.

Since the platform has strict password validation constraints (requiring a capital letter, special character, and a minimum length), it becomes highly inconvenient for users to verify if they have typed their password correctly, often leading to repetitive validation errors due to simple typos.

Proposed Improvement

  • Add a password visibility toggle (such as an eye icon or a text toggle button) inside or immediately next to the password input field.
  • Implement a lightweight JavaScript/React function to dynamically switch the input field's type attribute between password and text when the icon is clicked.

Why improvement is needed

This feature will significantly enhance the overall user experience (UX) and digital accessibility of the authentication flow. It reduces user frustration from failed login attempts caused by hidden typos and aligns the form with modern web design standards.

Expected Result

When a user clicks on the eye icon inside the password field, the hidden dots should turn into plain readable text so they can double-check their input. Clicking it again should mask the password back into dots.

Alternatives Considered

An alternative could be a "Confirm Password" field, but that is redundant and worsens the user flow for a simple Sign-In form. A visibility toggle is much cleaner and more user-friendly.

Additional Context

I am a GSSoC 2026 contributor. Please assign this issue to me so I can resolve this limitation and improve the sign-in page interface!

Screenshots

Here is the screenshot of the current Sign In page showing the lack of a toggle option and the strict validation rules:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions