mirror of
https://github.com/itflow-org/itflow
synced 2026-07-23 00:40:45 +00:00
Fix guest view credential totp
This commit is contained in:
@@ -234,9 +234,7 @@ if ($item_type == "Document") {
|
||||
id: <?php echo $item_id; ?>,
|
||||
key: "<?php echo $item_key; ?>"
|
||||
},
|
||||
function(data) {
|
||||
const response = JSON.parse(data);
|
||||
|
||||
function(response) {
|
||||
if (response.token) {
|
||||
document.getElementById("otp").innerText = response.token;
|
||||
// Refresh exactly when this code rotates
|
||||
|
||||
Reference in New Issue
Block a user