Follow-up fix for fwmark 101b5564c2 (#372)

Remove all FwMark settings from client configs (illegal) and QRcode
(also illegal).
This commit is contained in:
Paul Dee 2023-05-24 12:02:07 +02:00 committed by GitHub
parent ac99317ba3
commit cfbdae7abb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 9 deletions

View file

@ -472,17 +472,13 @@ Wireguard Clients
const client_id = $("#qr_client_id").val();
const QRCodeImg = $("#qr_code");
const QRCodeA = $("#qr_code_a");
let include_fwmark = false;
if ($("#qr_include_fwmark").is(':checked')){
include_fwmark = true;
}
QRCodeImg.hide();
$.ajax({
cache: false,
method: 'GET',
url: '{{.basePath}}/api/client/' + client_id,
data: {
qrCodeIncludeFwMark: include_fwmark
},
dataType: 'json',
contentType: "application/json",