mirror of
https://github.com/e107inc/e107.git
synced 2025-08-13 10:04:35 +02:00
Automatic password rehashing added to admin login page.
This commit is contained in:
@@ -304,7 +304,7 @@ class UserHandler
|
||||
* If necessary, rehash the user password to the currently set algorythm and updated database. .
|
||||
* @param array $user - user fields. required: user_id, user_loginname, user_password
|
||||
* @param string $password - plain text password.
|
||||
* @return bool|str returns new password hash on success or false.
|
||||
* @return bool|string returns new password hash on success or false.
|
||||
*/
|
||||
public function rehashPassword($user, $password)
|
||||
{
|
||||
|
Reference in New Issue
Block a user