feyclan / WT_backend

0 stars 0 forks source link

Bug: Incorrect email format #30

Closed vsshu closed 2 months ago

vsshu commented 2 months ago

Currently, when adding a new user, our system is incorrectly approving email addresses with a hyphen instead of a period in the domain section (e.g., aa@bb-cc instead of aa@bb.cc).

vsshu commented 2 months ago

Frontend used package: angular/packages/forms/src/validators.ts for email verification. EmailValidator follows the HTML5 spec on an e-mail field (foo@bar) making the hyphen a valid char.