plugins/yubikey/yubikey.js
changeset 10 748fa1b80031
parent 9 65965da01c41
child 11 794e7b1a97e7
--- a/plugins/yubikey/yubikey.js	Mon Mar 02 10:56:51 2009 -0500
+++ b/plugins/yubikey/yubikey.js	Sun Mar 08 00:45:45 2009 -0500
@@ -252,7 +252,7 @@
       $('#messageBoxButtons input:button:first').focus();
       $('#ajax_login_field_captcha').focus();
     });
-  if ( window.yk_reg_require_otp )
+  if ( window.yk_reg_require_otp || window.yk_user_enabled )
   {
     setTimeout(function()
       {