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