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:
parent
9a711543d8
commit
161f4c5afa
@ -7,8 +7,7 @@ function unsecureAuthentication(app) {
|
|||||||
app.post('/api/admin/login', (req, res) => {
|
app.post('/api/admin/login', (req, res) => {
|
||||||
const user = req.body;
|
const user = req.body;
|
||||||
req.session.user = new User({ email: user.email });
|
req.session.user = new User({ email: user.email });
|
||||||
res
|
res.status(200)
|
||||||
.status(200)
|
|
||||||
.json(req.session.user)
|
.json(req.session.user)
|
||||||
.end();
|
.end();
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user