|
|
|
@ -171,7 +171,7 @@ Auth.reloadRoutes = async function (params) {
|
|
|
|
|
|
|
|
|
|
router.post('/register', middlewares, controllers.authentication.register);
|
|
|
|
|
router.post('/register/complete', middlewares, controllers.authentication.registerComplete);
|
|
|
|
|
router.post('/register/abort', controllers.authentication.registerAbort);
|
|
|
|
|
router.post('/register/abort', Auth.middleware.applyCSRF, controllers.authentication.registerAbort);
|
|
|
|
|
router.post('/login', Auth.middleware.applyCSRF, Auth.middleware.applyBlacklist, controllers.authentication.login);
|
|
|
|
|
router.post('/logout', Auth.middleware.applyCSRF, controllers.authentication.logout);
|
|
|
|
|
};
|
|
|
|
|