plugins/yubikey/yubikey.js
changeset 9 65965da01c41
parent 7 c8fc1493eacd
child 10 748fa1b80031
--- a/plugins/yubikey/yubikey.js	Sun Mar 01 21:45:44 2009 -0500
+++ b/plugins/yubikey/yubikey.js	Mon Mar 02 10:56:51 2009 -0500
@@ -252,6 +252,13 @@
       $('#messageBoxButtons input:button:first').focus();
       $('#ajax_login_field_captcha').focus();
     });
+  if ( window.yk_reg_require_otp )
+  {
+    setTimeout(function()
+      {
+        yk_mb_init(yk_login_validate_reqs);
+      }, 750);
+  }
   tr.appendChild(td);
   table.appendChild(tr);
 }