mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-28 00:17:12 +01:00
Merge branch 'master' of github.com:Unleash/unleash
This commit is contained in:
commit
9a711543d8
@ -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