mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-01-23 10:16:18 +00:00
[SOGo] redirect to /user if unauthenticated
This commit is contained in:
parent
45c13c687b
commit
ccc8595665
1 changed files with 2 additions and 2 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue