|
|
|
@ -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);
|
|
|
|
|
|
|
|
|
|