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:
johnnyq 2021-12-04 21:09:57 -05:00
parent 53380718b1
commit b9fc4ea2bc
1 changed files with 1 additions and 1 deletions

View File

@ -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>";
}
?>