diff options
author | Sam Wilkins <samwilkins333@gmail.com> | 2019-02-24 16:46:51 -0500 |
---|---|---|
committer | Sam Wilkins <samwilkins333@gmail.com> | 2019-02-24 16:46:51 -0500 |
commit | 686c1717ae193638c89b0b9fce39451d7f6ac2ca (patch) | |
tree | 630459fa65dae9626eaee0530332fd4554012655 | |
parent | 4669fb1df3758c9589e84e32d0c34dc9107457af (diff) |
remove user update and added border
-rw-r--r-- | src/server/authentication/controllers/user.ts | 2 | ||||
-rw-r--r-- | views/stylesheets/authentication.css | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/server/authentication/controllers/user.ts b/src/server/authentication/controllers/user.ts index 5ff44bda1..2f97f4d53 100644 --- a/src/server/authentication/controllers/user.ts +++ b/src/server/authentication/controllers/user.ts @@ -70,7 +70,7 @@ export let postSignup = (req: Request, res: Response, next: NextFunction) => { if (err) { return next(err); } if (existingUser) { if (existingUser) { - existingUser.update({ $set: { email: please_work } }, (err, res) => { }); + // existingUser.update({ $set: { email: please_work } }, (err, res) => { }); } req.flash("errors", "Account with that email address already exists."); return res.redirect("/signup"); diff --git a/views/stylesheets/authentication.css b/views/stylesheets/authentication.css index 8787d7fa9..d3e1fa20a 100644 --- a/views/stylesheets/authentication.css +++ b/views/stylesheets/authentication.css @@ -57,6 +57,7 @@ body { } .overlay { + border: 2px solid yellow; text-align: center; position: absolute; margin: auto; |