Removed lockout check, as it is now done in the login preprocess layer.
authorDan
Mon, 09 Nov 2009 09:21:05 -0500
changeset 33 1303cf9c594c
parent 32 b00055a88867
child 34 6e947fa21237
Removed lockout check, as it is now done in the login preprocess layer.
plugins/yubikey/auth.php
--- a/plugins/yubikey/auth.php	Wed Aug 19 01:30:04 2009 -0400
+++ b/plugins/yubikey/auth.php	Mon Nov 09 09:21:05 2009 -0500
@@ -30,13 +30,7 @@
     $userdata['yubikey_otp'] = $userdata['password'];
   }
   
-  // Look for a lockout
-  $lockout_info = $session->get_lockout_info($lockdata);
-  if ( $lockout_info['locked_out'] )
-  {
-    // pass on to normal auth so the lockout can be sent back properly
-    return null;
-  }
+  // Lockouts removed from here - they're done during preprocessing now.
   
   if ( !empty($userdata['username']) )
   {