diff -r dd8c53454f31 -r 3a791f3f4b91 plugins/yubikey/corelib.php --- 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 )