Rename management page

main
sudoer777 2021-11-26 22:00:43 -07:00
parent 8ab01bb6a4
commit 0787a12404
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ var checkLoginStatus = require('./checkLoginStatus');
router.get('/' ,checkLoginStatus.user, function(req, res, next) {
if(req.user[2]) res.render('manage', { title: 'Score Management', userLoggedIn: !!req.user });
if(req.user[2]) res.render('manage', { title: 'Management Panel', userLoggedIn: !!req.user });
else res.render('manage/manage-nonadmin', { title: "My Games", userLoggedIn: !!req.user });
});