diff --git a/services/web/app/coffee/Features/Authentication/AuthenticationController.coffee b/services/web/app/coffee/Features/Authentication/AuthenticationController.coffee index 52d20e9194..81aa83f88c 100644 --- a/services/web/app/coffee/Features/Authentication/AuthenticationController.coffee +++ b/services/web/app/coffee/Features/Authentication/AuthenticationController.coffee @@ -108,6 +108,7 @@ module.exports = AuthenticationController = if !AuthenticationController.isUserLoggedIn(req) AuthenticationController._redirectToLoginOrRegisterPage(req, res) else + req.user = AuthenticationController.getSessionUser(req) next() return doRequest