diff --git a/src/App.svelte b/src/App.svelte index fff32447..4808c27d 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -57,11 +57,6 @@ // } - - {#if $router.path === '/forgot_password'} diff --git a/src/components/Login.svelte b/src/components/Login.svelte index 0ca78b3b..7dc90afd 100644 --- a/src/components/Login.svelte +++ b/src/components/Login.svelte @@ -20,7 +20,6 @@ OpenAPI.TOKEN = value.access_token; const jwtinfo = JSON.parse(atob(OpenAPI.TOKEN.split(".")[1])); store.login(value.access_token, jwtinfo); - location.replace("/"); Toastify({ text: $_("welcome_wavinghand"), duration: 500,