From 837a0ea9f59eb885f4fff7b570216d1f7dd463b8 Mon Sep 17 00:00:00 2001
From: Wolfgang Knopki <wolfgang.knopki@hft-stuttgart.de>
Date: Fri, 6 Mar 2020 10:06:42 +0100
Subject: [PATCH]  passing isAuthenticated param to mailinglsts

---
 routes/routes.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/routes/routes.js b/routes/routes.js
index 56d50f30..8ebebc6b 100644
--- a/routes/routes.js
+++ b/routes/routes.js
@@ -573,7 +573,9 @@ module.exports = function (app, config, passport, i18n) {
                         project_title: mailinglistOverview[i].project_title
                     });
                 }
+
                 res.render(lang+'/mailinglists', {
+                    isUserAuthenticated: req.isAuthenticated(),
                     user: req.user,
                     mailinglists: allMailingLists
                 });
-- 
GitLab