🐛 bug fix

This commit is contained in:
Song
2021-01-17 18:14:08 +08:00
parent b82466bc2f
commit 12b684a56f
2 changed files with 13 additions and 1 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ router.get('/configure', userRequired, (req, res, next) => {
showPasswordWarning = true;
}
res.locals.message = req.flash('message');
res.locals.showPasswordWarning = true;
res.locals.showPasswordWarning = showPasswordWarning;
res.render('configure', req.session.user);
});