[SOGo] redirect to /user if unauthenticated
This commit is contained in:
parent
45c13c687b
commit
ccc8595665
@ -2,7 +2,7 @@
|
|||||||
document.addEventListener('DOMContentLoaded', function () {
|
document.addEventListener('DOMContentLoaded', function () {
|
||||||
var loginForm = document.forms.namedItem("loginForm");
|
var loginForm = document.forms.namedItem("loginForm");
|
||||||
if (loginForm) {
|
if (loginForm) {
|
||||||
window.location.href = '/';
|
window.location.href = '/user';
|
||||||
}
|
}
|
||||||
|
|
||||||
angularReady = false;
|
angularReady = false;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user