Signup data is reaching the server code

This commit is contained in:
2021-01-22 00:55:17 +11:00
parent 30a5251400
commit a983d60b32
17 changed files with 3251 additions and 15 deletions
+5
View File
@@ -0,0 +1,5 @@
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,}))$/;
module.exports = email => {
return emailRegex.test(email);
}