Combine base32static.php and rfc6238.php into 1 file called totp.php and place it into the functions folder

This commit is contained in:
johnnyq
2025-01-24 20:26:46 -05:00
parent d80d4803db
commit 8e04e10753
8 changed files with 107 additions and 275 deletions

View File

@@ -193,7 +193,7 @@ if (isset($_POST['edit_your_user_preferences'])) {
if (isset($_POST['verify'])) {
require_once "includes/rfc6238.php";
require_once "functions/totp.php";
$currentcode = intval($_POST['code']); //code to validate, for example received from device