Fixed login replace

This commit is contained in:
Nicolai Ort 2021-08-21 09:22:01 +02:00
parent d9715139cf
commit 2b82f8798c
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F
1 changed files with 1 additions and 1 deletions

View File

@ -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) {
}