Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: trim whitespace from password field during login validation #1382

Open
harshitg927 opened this issue Jan 9, 2025 · 3 comments
Open
Assignees

Comments

@harshitg927
Copy link
Contributor

Reporting an Issue with OpenELIS Global

How to reproduce the issue

  1. At the login page
  2. enter a password with whitespaces, you will not be allowed to log in.

Description

Users cannot successfully log in when there are whitespace characters (spaces) before or after their password in the login form. The system should trim these whitespace characters to allow valid password authentication.
This affects users who accidentally include spaces while typing or copying/pasting their passwords.

Screen recording of the issue

Screencast.from.09-01-25.18.52.55.webm

Indicate the severity of the issue using the following ratings:
This issue makes OpenELIS slow, difficult, or confusing, but we are able to keep working with it.

@harshitg927
Copy link
Contributor Author

I have already fixed the issue on my local machine, please assign me.

@mozzy11
Copy link
Collaborator

mozzy11 commented Jan 9, 2025

Any one working on thsi issue ?

@mozzy11 mozzy11 moved this from Todo to In Progress in Introductory Issues Jan 9, 2025
@harshitg927
Copy link
Contributor Author

@mozzy11 I have solved this issue, I will open a Pull Request soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

2 participants