RohmaAr / SQE

0 stars 0 forks source link

issue 3: No limit on credentials #3

Closed AliAhsan69 closed 10 months ago

AliAhsan69 commented 11 months ago

When regitering for new user The user can enter any length of charcater in email password and name field There shoud be some limit to how many charcter user should enter for new registration. Also there is no check if the email is valid or not, you can enter whatever you like. 1.open the homepage 2.Enter whatever you like in the name field and password field

fatimahehe commented 10 months ago

This Issue has been solved, a constraint has been added to the username to make it atleast 3 characters long and a constraint on password to make it atleast 6 characters long and at maximum 20. Input will stop after reaching 20 characters for the password.

  1. Open http://localhost:8080/register
  2. Enter your username("Should be atleast 3 characters long")
  3. Enter password("Should be atleast 6 characters long and maximum 20 characters long")
  4. Enter your email
  5. Enter your address
  6. click register
  7. Generates a login page
  8. Enter your info that you used to register your account
  9. it will generate the products page Screenshot 2023-11-30 002124

lengthen password WhatsApp Image 2023-11-30 at 01 00 36_52989125 Screenshot 2023-11-30 002109