mirror of
https://github.com/swissmakers/wireguard-manager.git
synced 2026-04-05 10:47:05 +02:00
Mitigate CSRF attacks (#206)
This commit is contained in:
committed by
GitHub
parent
97652be545
commit
031d2cb7e8
@@ -494,7 +494,7 @@
|
||||
$("#apply_config_confirm").click(function () {
|
||||
$.ajax({
|
||||
cache: false,
|
||||
method: 'GET',
|
||||
method: 'POST',
|
||||
url: '{{.basePath}}/api/apply-wg-config',
|
||||
dataType: 'json',
|
||||
contentType: "application/json",
|
||||
|
||||
Reference in New Issue
Block a user