Open pluto-bell opened 1 week ago
I noticed I could create new users with invalid emails and that there is no created issue for this bug. I originally created a fix but removed it incase I'm not supposed to handle additional bugs this way.
Should I submit a new issue instead of adding the fix here?
Want to review this pull request? Take a look at this documentation for a step by step guide!
From your project repository, check out a new branch and test the changes.
git checkout -b pluto-bell-add-tolowercase-db-query development
git pull https://github.com/pluto-bell/VRMS.git add-tolowercase-db-query
Fixes #1464
What changes did you make and why did you make them ?
.toLowerCase()
across front-end files that were calling or creating emails. If you try to sign in with various uppercase and lowercase letters, your email is now still recognized; New users emails should all resolve to lowercase to help stop duplicates.Screenshots of Proposed Changes Of The Website (if any, please do not screen shot code changes)
Screen Capture - Login Example
First example shows fix, second example shows bug https://github.com/user-attachments/assets/38ebbe3d-112c-437a-8e30-0dd408f020aa