diff options
author | madelinegr <laura_wilson@brown.edu> | 2019-02-18 20:31:57 -0500 |
---|---|---|
committer | madelinegr <laura_wilson@brown.edu> | 2019-02-18 20:31:57 -0500 |
commit | 0bf7b0764bc49fdd40e775f4a5ee6bfac056bc79 (patch) | |
tree | e13272af751b33648b9842aa2ddcdf3a30ea1819 /src/server/authentication/controllers/user.ts | |
parent | 6fd2cec91efd6672a70e15a786954f92c1d23416 (diff) |
merged with server
Diffstat (limited to 'src/server/authentication/controllers/user.ts')
-rw-r--r-- | src/server/authentication/controllers/user.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/authentication/controllers/user.ts b/src/server/authentication/controllers/user.ts index 03ebbe0d4..c75eaab3c 100644 --- a/src/server/authentication/controllers/user.ts +++ b/src/server/authentication/controllers/user.ts @@ -31,6 +31,8 @@ export let postSignup = (req: Request, res: Response, next: NextFunction) => { req.assert("confirmPassword", "Passwords do not match").equals(req.body.password); req.sanitize("email").normalizeEmail({ gmail_remove_dots: false }); + req.flash("Working on something!!!"); + const errors = req.validationErrors(); if (errors) { |