1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00

chore: fix lint

This commit is contained in:
Ivar Conradi Østhus 2018-11-22 20:47:06 +01:00
parent 9a711543d8
commit 161f4c5afa

View File

@ -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();
});