mirror of
https://gitee.com/bookshelfplus/bookshelfplus
synced 2025-09-13 04:01:40 +08:00
密码加密放在后台进行
This commit is contained in:
@@ -38,6 +38,12 @@ router.get('/login', function (req, res) {
|
||||
});
|
||||
});
|
||||
|
||||
router.get('/register', function (req, res) {
|
||||
res.render('register', {
|
||||
title: "用户注册"
|
||||
});
|
||||
});
|
||||
|
||||
router.get('/admin/index', function (req, res) { // '/admin(/index)?'
|
||||
res.render('admin/index', {
|
||||
title: "后台管理"
|
||||
|
Reference in New Issue
Block a user