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