Fixed login replace
This commit is contained in:
@@ -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) {
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user