projects
/
ga4php.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
fixed a minor thing with the hotp skew
[ga4php.git]
/
lib
/
ga4php.php
diff --git
a/lib/ga4php.php
b/lib/ga4php.php
index
a052575
..
3435d03
100644
(file)
--- a/
lib/ga4php.php
+++ b/
lib/ga4php.php
@@
-147,7
+147,7
@@
abstract class GoogleAuthenticator {
switch($ttype) {
case "HOTP":
error_log("in hotp");
- $st = $tlid;
+ $st = $tlid+1;
$en = $tlid+$this->hotpSkew;
for($i=$st; $i<$en; $i++) {
$stest = $this->oath_hotp($tkey, $i);