1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

chore: fix linting

This commit is contained in:
Ivar Conradi Østhus 2018-11-22 20:37:30 +01:00
parent 3bfb0bba0a
commit c0a6ae64e0

View File

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