Fixed login replace
This commit is contained in:
parent
d9715139cf
commit
2b82f8798c
|
@ -11,7 +11,7 @@ import Apiclient from '$lib/Apiclient';
|
||||||
try {
|
try {
|
||||||
const login = await Apiclient.login(username, password);
|
const login = await Apiclient.login(username, password);
|
||||||
UserStore.login(login);
|
UserStore.login(login);
|
||||||
location.replace("/");
|
location.replace("./");
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue