Browse Source

[Web] redirect to sogo after failed sogo-auth

FreddleSpl0it 2 years ago
parent
commit
c90d637a48
1 changed files with 1 additions and 2 deletions
  1. 1 2
      data/web/sogo-auth.php

+ 1 - 2
data/web/sogo-auth.php

@@ -65,8 +65,7 @@ elseif (isset($_GET['login'])) {
       }
       }
     }
     }
   }
   }
-  header('HTTP/1.0 403 Forbidden');
-  echo "Forbidden";
+  header("Location: /SOGo/");
   exit;
   exit;
 }
 }
 // only check for admin-login on sogo GUI requests
 // only check for admin-login on sogo GUI requests