16 lines
397 B
JavaScript
16 lines
397 B
JavaScript
import AbstractAuthentificateView from "./AbstractAuthentificateView.js";
|
|
|
|
export default class extends AbstractAuthentificateView {
|
|
constructor(params) {
|
|
super(params);
|
|
this.setTitle("Home");
|
|
this.redirect_url = "/login"
|
|
}
|
|
|
|
async getHtml() {
|
|
return `
|
|
<h1>HOME</h1>
|
|
<a href="/logout" class="nav__link" data-link>Logout</a>
|
|
`;
|
|
}
|
|
} |