bug fixes

This commit is contained in:
2023-10-14 10:50:50 +02:00
parent b31667a77f
commit 02dee5ad0d
5 changed files with 13 additions and 7 deletions

View File

@@ -90,11 +90,10 @@
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script>
<script>
function submitFunction () {
let code = document.getElementById( '2fa' ).value;
let data = '';
let mode = document.getElementById( '2fa' ).value;
let fetchOptions = {
method: 'post',
body: JSON.stringify( { 'twoFA': data } ),
body: JSON.stringify( { 'twoFA': mode } ),
headers: {
'Content-Type': 'application/json',
'charset': 'utf-8'

View File

@@ -89,11 +89,10 @@
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script>
<script>
function submitFunction () {
let code = document.getElementById( '2fa' ).value;
let data = '';
let mode = document.getElementById( '2fa' ).value;
let fetchOptions = {
method: 'post',
body: JSON.stringify( { 'twoFA': data } ),
body: JSON.stringify( { 'twoFA': mode } ),
headers: {
'Content-Type': 'application/json',
'charset': 'utf-8'