From 62e6511826267382d3ccfb130c2db28aa5c316c2 Mon Sep 17 00:00:00 2001 From: paulr Date: Mon, 15 Nov 2010 17:15:26 +1100 Subject: [PATCH] im not really sure... --- lib/lib.php | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/lib.php b/lib/lib.php index 8967ffe..faf2cf4 100644 --- a/lib/lib.php +++ b/lib/lib.php @@ -228,7 +228,7 @@ class GoogleAuthenticator { $en = $tlid+20; for($i=$st; $i<$en; $i++) { $stest = $this->oath_hotp($tkey, $i); - error_log("code: $code, $stest, $tkey, $tid"); + //error_log("code: $code, $stest, $tkey, $tid"); if($code == $stest) { $sql = "update tokens set token_lastid='$i' where token_id='$tid'"; $this->dbConnector->query($sql); @@ -243,10 +243,10 @@ class GoogleAuthenticator { $t_lat = $t_now + 60; $t_st = ((int)($t_ear/30)); $t_en = ((int)($t_lat/30)); - error_log("kmac: $t_now, $t_ear, $t_lat, $t_st, $t_en"); + //error_log("kmac: $t_now, $t_ear, $t_lat, $t_st, $t_en"); for($i=$t_st; $i<=$t_en; $i++) { $stest = $this->oath_hotp($tkey, $i); - error_log("code: $code, $stest, $tkey\n"); + //error_log("code: $code, $stest, $tkey\n"); if($code == $stest) { return true; } -- 1.7.0.4