lang: register view

This commit is contained in:
AdrienLSH
2024-02-01 16:31:25 +01:00
parent 45ae11f96e
commit beb0cd4702
4 changed files with 29 additions and 13 deletions

View File

@ -1,10 +1,10 @@
import { client, navigateTo } from "../../index.js";
import { client, lang, navigateTo } from "../../index.js";
import AbstractAuthentifiedView from "../abstracts/AbstractAuthentifiedView.js";
export default class extends AbstractAuthentifiedView
{
constructor(params, lastPageUrl = '/login') {
super(params, "Logout");
super(params, lang.get('logoutWindowTitle', 'Logout'));
this.lastPageUrl = lastPageUrl;
}