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:
parent
3bfb0bba0a
commit
c0a6ae64e0
@ -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();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user