MinavKaria / Ratna-Supermarket

Ratna Supermarket is an online shopping platform offering a seamless and secure shopping experience. Users can browse a variety of products, manage their carts, place orders, and track purchases, all through an intuitive, responsive interface.
https://ratna-supermaket.minavkaria.xyz/
MIT License
23 stars 52 forks source link

[Bug 🐛]: Email is case sensitive in Login page #128

Open Akshithsaai opened 1 month ago

Akshithsaai commented 1 month ago

@MinavKaria In Login Page , the email is case sensitive . I want to correct this from the signup stage.

Changes:

In User signup, email will be validated and converted to standard mail (lowercase letters, Ignore '+' ) and then added to database. In Login request, email should be converted to the standard mail format before checking for the user in database.

Steps to reproduce the same bug:

  1. Go to login page
  2. If your email is abc@gmail.com , enter Abc@gmail.com
  3. Enter your password
  4. Click on login