McGill-ECSE321-Winter2020 / project-group-01

project-group-01 created by GitHub Classroom
2 stars 5 forks source link

Valid Email checker #79

Closed ding-ma closed 4 years ago

ding-ma commented 4 years ago

Checking for instance if the email contains @, ends with .com/,ca/.edu..... Check if there are some lib that can do that instead of using regex

Louismousine commented 4 years ago

Yes, I did this for the UserDto class; where else do you want that validation?

ding-ma commented 4 years ago

I added in the controller, see commit 54d8bfbf2839ff66efc66405828fb0105ddfefeb

Louismousine commented 4 years ago

i was already doing that check with the spring boot libs so i reverted the commit