rename view

This commit is contained in:
2023-11-29 20:56:32 +01:00
parent 9ae0dd0e28
commit bf3393e9a9
6 changed files with 4 additions and 4 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, url) {
super(params, url);
}
async redirect()
{
if (await client.isAuthentificate() === false)
return 0;
navigateTo(this.redirect_url);
return 1;
}
}