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