From 161f4c5afa760c5705a013a50fa8763c87aac8af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivar=20Conradi=20=C3=98sthus?= Date: Thu, 22 Nov 2018 20:47:06 +0100 Subject: [PATCH] chore: fix lint --- lib/middleware/simple-authentication.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/middleware/simple-authentication.js b/lib/middleware/simple-authentication.js index 0276f28576..d4ead337c3 100644 --- a/lib/middleware/simple-authentication.js +++ b/lib/middleware/simple-authentication.js @@ -7,8 +7,7 @@ function unsecureAuthentication(app) { app.post('/api/admin/login', (req, res) => { const user = req.body; req.session.user = new User({ email: user.email }); - res - .status(200) + res.status(200) .json(req.session.user) .end(); });