Skip to content

[UI] Login page does not validate empty password field - no error message shown #2028

Description

@AdhiNarayan206

Describe your issue

When the username field is filled but the password field is left empty, clicking the "Sign in" button does not show any validation error message for the empty password.

In contrast, the email/username field correctly shows a red error message "Email or Muid is Required" when left empty. The password field should have the same validation behavior.

Instead of showing an inline error, the Sign in button changes to a darker/disabled-looking state temporarily but no error message is displayed to the user. This leaves users confused about why the sign-in is not proceeding.

Actual Result:
No error message is shown for empty password. The button appears to go into a loading state and then reverts without any feedback.

Environment:

Steps to reproduce

  1. Navigate to https://app.mulearn.org/login
  2. Clear the username field (leaving it empty)
  3. Click "Sign in" - observe that "Email or Muid is Required" error appears (correct behavior)
  4. Now enter a username in the email field
  5. Leave the password field empty
  6. Click "Sign in" again
  7. Observe that no error message appears for the empty password

What was the expected result?

The password field should show a validation error message (similar to "Email or Muid is Required") when left empty and the user attempts to sign in. The error should be displayed inline near the password field before any API call is made.

Put here any screenshots or videos (optional)

20260315-2338-26.7745849.mp4

Would you like to work on this issue?

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions