registration form routines
This commit is contained in:
SDE
2023-06-22 17:45:43 +03:00
parent de52548b36
commit 3def6abb84
4 changed files with 41 additions and 25 deletions

View File

@@ -4,7 +4,7 @@ function SendRegistrationForm(el){
let formData = new FormData(form);
$.ajax({
headers: { "X-CSRFToken": '{{csrf_token}}' },
headers: { "X-CSRFToken": $('input[name=csrfmiddlewaretoken]').val() },
url: '/ru/user_account/registration/',
type: "POST",
// async: true,