This is no longer working. This makes 3 times it’s worked for a bit, then no longer worked after an EE upgrade, and the docs haven’t reflected the changes… and I haven’t had it that long.
On the site, it says:
Open system/expressionengine/libraries/Auth.php and go to (about) line 295 where it says: $hashed_pair = $this->hash_password($password, $m_salt, $h_byte_size); and add this code after it: /* ------------------------------------------- /* 'member_member_password_override' hook. /* - Override the password for login with a third party provider /* - Added for Shotwell's Socialee 1.2 */
$ext_password = $this->EE->extensions->call('member_member_password_override', $this->EE->input->get_post('username'), $m_pass);
$hashed_pair['password'] = ($ext_password)? $ext_password:$hashed_pair['password'];
if ($this->EE->extensions->end_script === TRUE) return;
/* /* -------------------------------------------*/
In the instructions in the package, it says something entirely different:
Add the following at line 300 of this file system/expressionengine/modules/member/mod.member_auth.php /* ------------------------------------------- /* 'member_member_password_override' hook. /* - Override the password for login with a third party provider /* - Added for Shotwell's Socialee 1.2 */ $password = $this->EE->extensions->call('member_member_password_override', $this->EE->input->get_post('username'), $query->row('password')); if ($this->EE->extensions->end_script === TRUE) return; /* /* -------------------------------------------*/
I’ve tried both, neither works. I uninstalled. Other than not updating docs, this may not be your fault (just changes to EE), but I don’t have time to keep doing this.
|