nus-cs2103-AY2425S1 / pe-dev-response

0 stars 0 forks source link

add-doctor command accepts an invalid email format #3522

Open nus-pe-bot opened 1 day ago

nus-pe-bot commented 1 day ago

Email must contain at least one dot in the domain part of the email. E.g. johnd@example.com is a valid email but johnd@examplecom is invalid as there is no dot after @.

The app currently accepts email without a dot after the '@' symbol. This could lead to erroneous data being stored in the app which could affect the user experience. In the medical industry, especially, it would be crucial for the database to contain accurate doctor data.

image.png


[original: nus-cs2103-AY2425S1/pe-interim#2781] [original labels: type.FeatureFlaw severity.Low]

bmanara commented 1 day ago

Team's Response

No details provided by team.

Duplicate status (if any):

Duplicate of #1943