wp_authentication not passing 2 arguments
-
I’m updating the imap_authentication plugin to work with 2.1 and up.
However, when doing
add_action('wp_authenticate', array('IMAPAuthentication', 'login'));
in the class, then in the IMAPAuthentication classes login function:
function login($username,$password) {
to capture the username and password.The problem is that wp-login.php is not passing in the password reference even though it is supposed to:
(from wp-login.php)
do_action_ref_array('wp_authenticate', array(&$user_login, &$user_pass));
Any ideas what’s going on here?!?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘wp_authentication not passing 2 arguments’ is closed to new replies.