small bugfix

ref #23
This commit is contained in:
Philipp Dormann 2021-01-02 22:32:26 +01:00
parent 46491f38a0
commit b9410dc5f1
2 changed files with 0 additions and 6 deletions

View File

@ -57,11 +57,6 @@
// }
</script>
<button
on:click={() => {
$store.isLoggedIn = true;
}}>login</button>
<!-- -->
<Route>
{#if $router.path === '/forgot_password'}
<Route path="/forgot_password">

View File

@ -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,