Skip to content
Snippets Groups Projects
Commit f8280077 authored by JediKev's avatar JediKev
Browse files

Merge branch 'issue/csrf-in-users-url' into release/v1.10.2

* issue/csrf-in-users-url:
  issue: CSRF In users.inc.php URL
parents 7665eab7 285a292a
No related branches found
No related tags found
No related merge requests found
......@@ -312,6 +312,11 @@ $(function() {
goBaby($(this).attr('href').substr(1));
return false;
});
// Remove CSRF Token From GET Request
document.querySelector("form[action='users.php']").onsubmit = function() {
document.getElementsByName("__CSRFToken__")[0].remove();
};
});
</script>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment