mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-04 03:21:18 +01:00
closes #6691
This commit is contained in:
@@ -76,7 +76,7 @@
|
||||
"nodebb-plugin-spam-be-gone": "0.5.4",
|
||||
"nodebb-rewards-essentials": "0.0.11",
|
||||
"nodebb-theme-lavender": "5.0.7",
|
||||
"nodebb-theme-persona": "9.0.34",
|
||||
"nodebb-theme-persona": "9.0.35",
|
||||
"nodebb-theme-slick": "1.2.10",
|
||||
"nodebb-theme-vanilla": "10.1.4",
|
||||
"nodebb-widget-essentials": "4.0.7",
|
||||
|
||||
@@ -87,7 +87,8 @@ Auth.reloadRoutes = function (callback) {
|
||||
|
||||
router.post('/register', Auth.middleware.applyCSRF, Auth.middleware.applyBlacklist, controllers.authentication.register);
|
||||
router.post('/register/complete', Auth.middleware.applyCSRF, Auth.middleware.applyBlacklist, controllers.authentication.registerComplete);
|
||||
router.get('/register/abort', controllers.authentication.registerAbort);
|
||||
// router.get('/register/abort', controllers.authentication.registerAbort);
|
||||
router.post('/register/abort', controllers.authentication.registerAbort);
|
||||
router.post('/login', Auth.middleware.applyCSRF, Auth.middleware.applyBlacklist, controllers.authentication.login);
|
||||
router.post('/logout', Auth.middleware.applyCSRF, controllers.authentication.logout);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user