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

@ -1,8 +1,8 @@
import { client, navigateTo } from "../index.js";
import { clear, fill_errors } from "../utils/formUtils.js";
import AbstractAuthentificateView from "./abstracts/AbstractAuthentifiedView.js";
import AbstractAuthenticatedView from "./abstracts/AbstractAuthenticatedView.js";
export default class extends AbstractAuthentificateView
export default class extends AbstractAuthenticatedView
{
constructor(params)
{
@ -36,7 +36,7 @@ export default class extends AbstractAuthentificateView
let response_data = await client.account.delete(current_password);
console.log(await client.isAuthentificate())
console.log(await client.isAuthenticate())
if (response_data === null || response_data === "user deleted")
{
navigateTo("/login");