2023-11-29 10:05:49 -05:00
|
|
|
import { client, navigateTo } from "../../index.js";
|
2023-12-19 05:27:18 -05:00
|
|
|
import AbstractAuthentifiedView from "../abstracts/AbstractAuthentifiedView.js";
|
2023-11-29 10:05:49 -05:00
|
|
|
|
2023-11-29 16:51:57 -05:00
|
|
|
export default class extends AbstractAuthentifiedView
|
2023-11-29 10:05:49 -05:00
|
|
|
{
|
|
|
|
constructor(params) {
|
2023-11-30 07:05:46 -05:00
|
|
|
super(params, "Logout");
|
2023-11-29 13:55:44 -05:00
|
|
|
client.logout();
|
2023-11-29 10:05:49 -05:00
|
|
|
navigateTo("/login")
|
|
|
|
}
|
2023-12-19 05:27:18 -05:00
|
|
|
}
|