Optimizations for the plugin
-
Adding tabindex to the OTP Title URL:
function yubikey_loginform() { echo "<p>"; echo "<label><a tabindex=\"-1\" href=\"http://www.yubico.com/products/yubikey/\" target=\"_blank\" title=\"".__('If You don\'t have a Yubikey enabled for Your WordPress account, leave this field empty.','yubikey')."\">".__('Yubikey OTP','yubikey')."</a><br />"; echo "<input type=\"text\" name=\"otp\" id=\"user_email\" class=\"input\" value=\"\" size=\"20\"/></label>"; echo "</p>"; }Then, the OTP Field can be reached as normal with 1 tag after the password field.
More user frendly.Additional, I would like to request a small filter within the function: yubikey_check_otp()
if (apply_filters("customsinglesignon") == true) { return true; }Most of customers of me use a SSO page where they authentificate themself including yubikey. They are not been able to automatically pass the yubikeyauth on the page, as I cannot force them wo login.
With our plugin, all direct logins are handled and protected well, but with the small filter, I can use other login “security” plugins to hack and bypass the yubikey, if the customer has other modules too in parallel.
Would be nice if there would be an update, otherwise I will need to release an own version, which I so not want to.
Regards
Stefan(Topic subscribed for updates)
The topic ‘Optimizations for the plugin’ is closed to new replies.