diff -r 032ca892b9a2 -r 65965da01c41 plugins/yubikey/yubikey.js --- 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); }