accounts: fix: rename func

This commit is contained in:
starnakin 2024-02-13 13:11:36 +01:00 committed by AdrienLSH
parent d9235ed107
commit 5155ecdd61

View File

@ -29,7 +29,7 @@ export default class extends AbstractNonAuthentifiedView
let new_mode = location.pathname.slice(1);
this.update_mode(new_mode);
document.getElementById("button").onclick = this.authentificate.bind(this);
document.getElementById("button").onclick = this.authenticate.bind(this);
let username_input = document.getElementById('username-input'),
password_input = document.getElementById('password-input');
@ -37,7 +37,7 @@ export default class extends AbstractNonAuthentifiedView
[username_input, password_input].forEach(input => {
input.addEventListener('keydown', async ev => {
if (ev.key === 'Enter')
await this.authentificate.bind(this)()
await this.authenticate.bind(this)()
});
});
}