remove error in console, and search work with unlog user

This commit is contained in:
2024-01-14 17:50:34 +01:00
parent 131e599d17
commit 11392c22c4
5 changed files with 42 additions and 16 deletions

View File

@ -10,6 +10,8 @@ async function login()
let response = await client.login(username, password);
if (response.status == 200) {
await client.notice.disconnect();
await client.notice.connect();
navigateTo("/home");
} else {
let error = await response.json();

View File

@ -9,6 +9,7 @@ export default class extends AbstractAuthentifiedView
async postInit() {
await client.logout();
await client.notice.disconnect();
navigateTo("/login")
}
}