mirror of
https://github.com/itflow-org/itflow
synced 2026-03-15 10:14:51 +00:00
show TOTP key in user setting if enabled, to allow adding to an totp app without QR Code like a password managed like bitwarden
This commit is contained in:
@@ -88,7 +88,7 @@ $sql_recent_logs = mysqli_query($mysqli,"SELECT * FROM logs
|
|||||||
//Generate QR Code based off the generated key
|
//Generate QR Code based off the generated key
|
||||||
print sprintf('<img src="%s"/>',TokenAuth6238::getBarCodeUrl('','',$session_token,$config_company_name));
|
print sprintf('<img src="%s"/>',TokenAuth6238::getBarCodeUrl('','',$session_token,$config_company_name));
|
||||||
|
|
||||||
echo "<p class='text-secondary'>$secretkey</p>";
|
echo "<p class='text-secondary'>$session_token</p>";
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in New Issue
Block a user