check post csrf5
This commit is contained in:
@@ -26,7 +26,7 @@ function select_tab_profile (el,url,owner_type=null) {
|
|||||||
}
|
}
|
||||||
$.ajax({
|
$.ajax({
|
||||||
// headers: { "X-CSRFToken": $('input[name=csrfmiddlewaretoken]').val() },
|
// headers: { "X-CSRFToken": $('input[name=csrfmiddlewaretoken]').val() },
|
||||||
headers: { "X-CSRFToken": `${getCsrfCookie()}`,"Access-Control-Allow-Origin": "*" },
|
headers: { "csrfmiddlewaretoken": `${getCsrfCookie()}`,"Access-Control-Allow-Origin": "*" },
|
||||||
url: confirm_url,
|
url: confirm_url,
|
||||||
type: "POST",
|
type: "POST",
|
||||||
// async: true,
|
// async: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user