Add "processData: false" to all JSON data we send

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2023-10-13 09:44:01 +02:00
parent 1146248964
commit 43c8ede674
10 changed files with 19 additions and 0 deletions

View File

@@ -318,6 +318,8 @@ function setTOTPSecret(secret) {
$.ajax({
url: "/api/config",
type: "PATCH",
dataType: "json",
processData: false,
data: JSON.stringify({ config: { webserver: { api: { totp_secret: secret } } } }),
contentType: "application/json",
})