mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-18 07:51:55 +03:00
Added quotes to changepw admin controller
This commit is contained in:
parent
40c1271c08
commit
c4bf0123c8
@ -143,7 +143,7 @@ adminControllers = {
|
|||||||
res.json(401, {error: 'Slow down, there are way too many login attempts!'});
|
res.json(401, {error: 'Slow down, there are way too many login attempts!'});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
changepw: function (req, res) {
|
'changepw': function (req, res) {
|
||||||
api.users.changePassword({
|
api.users.changePassword({
|
||||||
currentUser: req.session.user,
|
currentUser: req.session.user,
|
||||||
oldpw: req.body.password,
|
oldpw: req.body.password,
|
||||||
|
Loading…
Reference in New Issue
Block a user