2023-11-29 10:05:49 -05:00
|
|
|
import { client, navigateTo } from "../../index.js";
|
2023-11-29 14:56:32 -05:00
|
|
|
import AbstractAuthentificateView from "../AbstractAuthentifiedView.js";
|
2023-11-29 10:05:49 -05:00
|
|
|
|
2023-11-29 13:55:44 -05:00
|
|
|
export default class extends AbstractAuthentificateView
|
2023-11-29 10:05:49 -05:00
|
|
|
{
|
|
|
|
constructor(params) {
|
|
|
|
super(params);
|
|
|
|
this.setTitle("Logout");
|
2023-11-29 13:55:44 -05:00
|
|
|
client.logout();
|
2023-11-29 10:05:49 -05:00
|
|
|
navigateTo("/login")
|
|
|
|
}
|
|
|
|
}
|