forked from MarseyWorld/MarseyWorld
restore necessary xhr.withCredentials for WPD
parent
2dde07bf0f
commit
8555e370be
|
@ -162,6 +162,8 @@ function submit(form) {
|
|||
|
||||
const xhr = new XMLHttpRequest();
|
||||
|
||||
xhr.withCredentials=true;
|
||||
|
||||
formData = new FormData(form);
|
||||
|
||||
formData.append("formkey", formkey());
|
||||
|
|
Loading…
Reference in New Issue