password change fix
This commit is contained in:
parent
3e974b98c1
commit
6cebe08ea5
@ -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
|
||||
|
Reference in New Issue
Block a user