Zohair-Ahmed / EECS3311M-Project

Software Project for EECS3311
0 stars 3 forks source link

[BUG] Register credentials allow extraneous input #76

Open patrickdx opened 1 year ago

patrickdx commented 1 year ago

In the "Register Here" tab, there are no restrictions (apart from being empty) on what could possibly be entered in these fields. The email field does not require the proper email suffix e.g. @mail.com to be present.

I suggest using some regular expressions for specifying the format for these fields.

Ammadq87 commented 1 year ago

Solution: Add REGEX for email, restrict whitespace