mirror of
https://github.com/ClaytonWWilson/CS307-Team24.git
synced 2026-03-10 21:25:04 +00:00
Fix unnecessary escape deploy error.
This commit is contained in:
@@ -22,7 +22,7 @@ exports.signup = (req, res) => {
|
|||||||
|
|
||||||
let errors = {};
|
let errors = {};
|
||||||
|
|
||||||
const emailRegEx = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@(([[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
|
const emailRegEx = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
|
||||||
|
|
||||||
//Email check
|
//Email check
|
||||||
if(newUser.email.trim() === '') {
|
if(newUser.email.trim() === '') {
|
||||||
|
|||||||
Reference in New Issue
Block a user