diff --git a/frontend/src/login/Login.vue b/frontend/src/login/Login.vue index 041b7fcb24..c678dc1e59 100644 --- a/frontend/src/login/Login.vue +++ b/frontend/src/login/Login.vue @@ -113,9 +113,11 @@ this.$get("language", response => { language = response.data; localStorage.setItem(DEFAULT_LANGUAGE, language) + window.location.href = "/" }) + } else { + window.location.href = "/" } - window.location.href = "/" }); } else { return false;