From db07c1dcf07329a0c17451579c556aa632cc2025 Mon Sep 17 00:00:00 2001
From: Wolfgang Knopki <wolfgang.knopki@hft-stuttgart.de>
Date: Fri, 17 Apr 2020 13:57:58 +0000
Subject: [PATCH] changed default SAML-redirect to account page

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

diff --git a/routes/routes-account.js b/routes/routes-account.js
index 8c0b3129..d43845fc 100644
--- a/routes/routes-account.js
+++ b/routes/routes-account.js
@@ -58,11 +58,11 @@ module.exports = function (app, config, passport, i18n) {
   app.post(config.passport.saml.path,
     passport.authenticate(config.passport.strategy,
       {
-        failureRedirect: '/',
+        failureRedirect: '/account/',
         failureFlash: true
       }),
     function (req, res) {
-      res.redirect('/');
+      res.redirect('/account/');
     }
   );
 
-- 
GitLab