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