author | Dan |
Mon, 11 May 2009 08:50:37 -0400 | |
changeset 19 | 3a791f3f4b91 |
parent 18 | dd8c53454f31 |
child 20 | 5a359c7ebc48 |
--- a/plugins/yubikey/corelib.php Mon May 11 08:50:07 2009 -0400 +++ b/plugins/yubikey/corelib.php Mon May 11 08:50:37 2009 -0400 @@ -201,7 +201,7 @@ $tolerance = intval(getConfig('yubikey_api_ts_tolerance', 150)); $now = time(); - $timestamp = preg_replace('/Z[0-9]{3}$/', '', $timestamp); + $timestamp = preg_replace('/Z[0-9]{3,5}$/', '', $timestamp); $timestamp_seconds = strtotime($timestamp); if ( !$timestamp || !$now )