Merged branches from Scribus and Charlie
authorDan
Fri, 31 Jul 2009 23:59:06 -0400
changeset 28 b9a3da602841
parent 27 647f0aa485dd (current diff)
parent 24 ba1a31f16afe (diff)
child 29 7cd9707ed72f
Merged branches from Scribus and Charlie
plugins/yubikey/yubikey.js
--- 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' )