Commit 6cebe08e authored by Evert Prants's avatar Evert Prants

password change fix

parent 3e974b98
......@@ -279,7 +279,7 @@ router.get('/user/manage', ensureLogin, wrap(async (req, res) => {
router.get('/user/manage/password', ensureLogin, wrap(async (req, res) => {
let socialStatus = await API.User.socialStatus(req.session.user)
res.render('user/password_new', {token: socialStatus.password})
res.render('user/password_new', {token: !socialStatus.password})
}))
// Change email
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment