fix: loging out redirects to login page

This commit is contained in:
AdrienLSH 2024-01-10 13:20:40 +01:00
parent 196729b153
commit ad20d85470

View File

@ -5,7 +5,10 @@ export default class extends AbstractAuthentifiedView
{
constructor(params) {
super(params, "Logout");
client.logout();
}
async postInit() {
await client.logout();
navigateTo("/login")
}
}