This plugin name must retain the leading underscore for auto-load ie.
_email-login.php(don't rename it)This plugin won't work with any other plugin that also replaces function bb_login
Note that email addresses in bbPress 0.9 (and early versions of 1.0a) are fundamentally flawed. Two users can have the same email address, and a user can change their email address later to the same as an existing user, because there are no checks in the API (fixed eventually in WordPress 2.5 but still not bbPress 0.9) This plugin only checks the first email address that matches, which in theory can prevent the login from working.
- I'm not sure why anyone would want to do this but in theory you could force ONLY email addresses for user login (no usernames allowed)
by disabling the first real line in the plugin ie.
// $user = bb_check_login( $login, $password );
- I'm not sure why anyone would want to do this but in theory you could force ONLY email addresses for user login (no usernames allowed)
by disabling the first real line in the plugin ie.
It's interesting to note that this plugin can be done in WordPress via two lines of code as a real plugin (and not replacing functions in pluggable) by using wp_authenticate - not even bbPress 1.0 has such filters yet