12 lines
288 B
JavaScript
12 lines
288 B
JavaScript
import { client, navigateTo } from "../../index.js";
|
|
import AbstractAuthentifiedView from "../abstracts/AbstractAuthentifiedView.js";
|
|
|
|
export default class extends AbstractAuthentifiedView
|
|
{
|
|
constructor(params) {
|
|
super(params, "Logout");
|
|
client.logout();
|
|
navigateTo("/login")
|
|
}
|
|
}
|