fix: loging out redirects to login page
This commit is contained in:
parent
196729b153
commit
ad20d85470
@ -5,7 +5,10 @@ export default class extends AbstractAuthentifiedView
|
|||||||
{
|
{
|
||||||
constructor(params) {
|
constructor(params) {
|
||||||
super(params, "Logout");
|
super(params, "Logout");
|
||||||
client.logout();
|
}
|
||||||
|
|
||||||
|
async postInit() {
|
||||||
|
await client.logout();
|
||||||
navigateTo("/login")
|
navigateTo("/login")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user