clean: rename: authentification to authenticate

This commit is contained in:
2024-02-13 13:59:16 +01:00
parent 0244ec0e51
commit 6df27eeadf
16 changed files with 34 additions and 34 deletions

View File

@ -0,0 +1,16 @@
import { client, navigateTo } from "../../index.js";
import AbstractRedirectView from "./AbstractRedirectView.js";
export default class extends AbstractRedirectView{
constructor(params, title, url) {
super(params, title, url);
}
async redirect()
{
if (await client.isAuthenticate() === false)
return 0;
navigateTo(this.redirect_url);
return 1;
}
}