Browse Source

[SOGo] redirect to /user if unauthenticated

FreddleSpl0it 9 months ago
parent
commit
ccc8595665
1 changed files with 2 additions and 2 deletions
  1. 2 2
      data/conf/sogo/custom-sogo.js

+ 2 - 2
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() {