X-Git-Url: http://git.pjr.cc/?p=ga4php.git;a=blobdiff_plain;f=lib%2Fga4php.php;h=3435d03c812c1d5dec3e6df299f34ac3d4499244;hp=a0525754d0363d20183bed92c73de5ab7672c60f;hb=1065be060c1b237c4fcdfdef6e3e2ee663d1ca33;hpb=b01c2819480261bd5c94de2bf05533c9e82a6ab2 diff --git a/lib/ga4php.php b/lib/ga4php.php index a052575..3435d03 100644 --- 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);