nseah21 / pe

0 stars 0 forks source link

Able to add a user with empty email #4

Closed nseah21 closed 2 years ago

nseah21 commented 2 years ago

Description of bug:

Email field is compulsory (according to the UG) but user is allowed to enter an empty email. This seems to arise from the email validation check not checking for empty inputs, which is a functionality bug.

image.png

Steps to reproduce:

addPerson n/Timothy p/98765432 e/ a/John street, block 123,#01-01 g/m d/20/03/2002

Screenshots (before and after):

image.png