From 0bf7b0764bc49fdd40e775f4a5ee6bfac056bc79 Mon Sep 17 00:00:00 2001 From: madelinegr Date: Mon, 18 Feb 2019 20:31:57 -0500 Subject: merged with server --- src/server/authentication/controllers/user.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/server/authentication/controllers/user.ts') 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) { -- cgit v1.2.3-70-g09d2