plugins/yubikey/yubikey.js
changeset 28 b9a3da602841
parent 26 0dac837643a4
parent 24 ba1a31f16afe
child 30 294bab0bb3e2
--- a/plugins/yubikey/yubikey.js	Fri Jul 31 23:48:56 2009 -0400
+++ b/plugins/yubikey/yubikey.js	Fri Jul 31 23:59:06 2009 -0400
@@ -217,6 +217,11 @@
 
 addOnloadHook(function()
   {
+    if ( is_iPhone )
+      // kinda can't plug a yubikey into an iPhone
+      // ... yet?
+      return;
+    
     attachHook('login_build_form', 'yk_login_dlg_hook(table, data);');
     attachHook('login_build_userinfo', 'if ( window.yubikey_otp_current ) userinfo.yubikey_otp = window.yubikey_otp_current;');
     if ( title == namespace_list.Special + 'Preferences/Yubikey' )