From b9fc4ea2bc6102802e570b156826d1745944a11c Mon Sep 17 00:00:00 2001 From: johnnyq Date: Sat, 4 Dec 2021 21:09:57 -0500 Subject: [PATCH] show TOTP key in user setting if enabled, to allow adding to an totp app without QR Code like a password managed like bitwarden --- settings-user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings-user.php b/settings-user.php index ad44bc1f..7e1a3cc9 100644 --- a/settings-user.php +++ b/settings-user.php @@ -88,7 +88,7 @@ $sql_recent_logs = mysqli_query($mysqli,"SELECT * FROM logs //Generate QR Code based off the generated key print sprintf('',TokenAuth6238::getBarCodeUrl('','',$session_token,$config_company_name)); - echo "

$secretkey

"; + echo "

$session_token

"; } ?>