From f9fdec8a1514937f2dc702d9e9ea67500915e96d Mon Sep 17 00:00:00 2001 From: Henry Oswald Date: Mon, 13 Jun 2016 15:24:41 +0100 Subject: [PATCH] whitelist /user/activate for non public access --- services/web/app/coffee/router.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/services/web/app/coffee/router.coffee b/services/web/app/coffee/router.coffee index 5a184c97f3..23df462787 100644 --- a/services/web/app/coffee/router.coffee +++ b/services/web/app/coffee/router.coffee @@ -80,6 +80,7 @@ module.exports = class Router webRouter.get '/blog/*', BlogController.getPage webRouter.get '/user/activate', UserPagesController.activateAccountPage + AuthenticationController.addEndpointToLoginWhitelist '/user/activate' webRouter.get '/user/settings', AuthenticationController.requireLogin(), UserPagesController.settingsPage webRouter.post '/user/settings', AuthenticationController.requireLogin(), UserController.updateUserSettings