plugins/yubikey/usercp.php
changeset 3 d0fe7acaf0e8
parent 0 9d2c4f04a0d0
child 8 032ca892b9a2
equal deleted inserted replaced
2:6edc6ebb3b39 3:d0fe7acaf0e8
     1 <?php
     1 <?php
       
     2 
       
     3 if ( getConfig('yubikey_enable', '1') != '1' )
       
     4   return true;
     2 
     5 
     3 $plugins->attachHook("userprefs_jbox", "yubikey_ucp_setup();");
     6 $plugins->attachHook("userprefs_jbox", "yubikey_ucp_setup();");
     4 $plugins->attachHook("userprefs_body", "return yubikey_user_cp(\$section);");
     7 $plugins->attachHook("userprefs_body", "return yubikey_user_cp(\$section);");
     5 $plugins->attachHook("login_form_html", "yubikey_inject_html_login();");
     8 $plugins->attachHook("login_form_html", "yubikey_inject_html_login();");
     6 
     9