mirror of
https://github.com/janishutz/libreevent.git
synced 2025-11-25 13:24:24 +00:00
bug fixes
This commit is contained in:
@@ -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'
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user