|
|
|
@ -64,6 +64,7 @@
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
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.post('/login', Auth.middleware.applyCSRF, Auth.middleware.applyBlacklist, controllers.authentication.login);
|
|
|
|
|
router.post('/logout', Auth.middleware.applyCSRF, controllers.authentication.logout);
|
|
|
|
|
|
|
|
|
|