mirror of https://github.com/itflow-org/itflow
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:
parent
53380718b1
commit
b9fc4ea2bc
|
|
@ -88,7 +88,7 @@ $sql_recent_logs = mysqli_query($mysqli,"SELECT * FROM logs
|
|||
//Generate QR Code based off the generated key
|
||||
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>";
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue