mirror of
https://github.com/itflow-org/itflow
synced 2026-09-14 02:35:12 +00:00
Cleanup - fix two broken script paths and drop 29 dead/duplicate files (348KB of unused FullCalendar themes)
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
function showOTPViaCredentialID(credential_id) {
|
||||
// Send a GET request to ajax.php as ajax.php?get_totp_token_via_id=true&credential_id=ID
|
||||
itflowGet(
|
||||
"../ajax.php", {
|
||||
get_totp_token_via_id: 'true',
|
||||
credential_id: credential_id
|
||||
},
|
||||
function(data) {
|
||||
//If we get a response from post.php, parse it as JSON
|
||||
const token = JSON.parse(data);
|
||||
|
||||
document.getElementById("otp_" + credential_id).innerText = token
|
||||
|
||||
}
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user