upd: register.js
Fix error in csrfToken element
This commit is contained in:
parent
13bcafcebf
commit
eb2366ebd8
@ -3,7 +3,7 @@ const nameInput = document.getElementById("name");
|
|||||||
const emailInput = document.getElementById("emailAddress");
|
const emailInput = document.getElementById("emailAddress");
|
||||||
const passwordInput = document.getElementById("password");
|
const passwordInput = document.getElementById("password");
|
||||||
const confirmPasswordInput = document.getElementById("confirmPassword");
|
const confirmPasswordInput = document.getElementById("confirmPassword");
|
||||||
const csrfToken = document.getElementById("csrfToken").value;
|
const csrfToken = document.getElementById("registration_form__token").value;
|
||||||
|
|
||||||
// Add event listeners to the form
|
// Add event listeners to the form
|
||||||
const registerBtn = document.querySelector("#register-btn");
|
const registerBtn = document.querySelector("#register-btn");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user