From ccc8595665ea28ba92c3e6d66bd40b2d65890eca Mon Sep 17 00:00:00 2001 From: FreddleSpl0it Date: Sun, 1 Dec 2024 16:51:56 +0100 Subject: [PATCH] [SOGo] redirect to /user if unauthenticated --- data/conf/sogo/custom-sogo.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/conf/sogo/custom-sogo.js b/data/conf/sogo/custom-sogo.js index e794372f0..1070efa40 100644 --- a/data/conf/sogo/custom-sogo.js +++ b/data/conf/sogo/custom-sogo.js @@ -2,7 +2,7 @@ document.addEventListener('DOMContentLoaded', function () { var loginForm = document.forms.namedItem("loginForm"); if (loginForm) { - window.location.href = '/'; + window.location.href = '/user'; } angularReady = false; @@ -34,7 +34,7 @@ document.addEventListener('DOMContentLoaded', function () { function mcElementsExists() { if (document.getElementById("mc_backlink")) return true; - else + else return false; } function addMCElements() {