Skip to content

[BUG]: Login form accepts invalid email formats without client-side validation #530

Description

@aayan-rashid

Description

The login form accepts invalid email formats without displaying any client-side validation message. Users can enter arbitrary text in the email field, and the request is only rejected after being sent to the backend.

Steps to Reproduce

  1. Open the Web App page.
  2. Enter an invalid email such as:
    • ABC172871t4!!!cbw
    • abc@abc
  3. Enter any password.
  4. Click Login to Arvio.

Screenshot

Image

Expected Behavior

The email field should validate the input before submitting the request and prompt the user to enter a valid email address.

Actual Behavior

The form accepts invalid email formats and sends the request to the backend, which later rejects the login.

Additional Context

Although the backend correctly validates credentials, adding client-side email validation would provide immediate feedback and improve the overall user experience by preventing unnecessary requests.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions