Fixed TOTP for client logins

This commit is contained in:
johnnyq
2021-12-04 21:00:34 -05:00
parent e36739297d
commit 53380718b1
4 changed files with 98 additions and 3 deletions

12
totp-test2.php Normal file
View File

@@ -0,0 +1,12 @@
<?php
require_once("rfc6238.php");
$secretkey = "";
$gen = TokenAuth6238::getTokenCode($secretkey,$rangein30s = 3);
echo $gen;
?>