Fixed login replace
This commit is contained in:
1 file changed
+1
-1
@@ -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