parent
46491f38a0
commit
b9410dc5f1
@ -57,11 +57,6 @@
|
||||
// }
|
||||
</script>
|
||||
|
||||
<button
|
||||
on:click={() => {
|
||||
$store.isLoggedIn = true;
|
||||
}}>login</button>
|
||||
<!-- -->
|
||||
<Route>
|
||||
{#if $router.path === '/forgot_password'}
|
||||
<Route path="/forgot_password">
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user