1
0
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:
Cameron
2020-02-22 11:45:35 -08:00
parent d23c65b30c
commit aa9753a174
3 changed files with 14 additions and 2 deletions

View File

@@ -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)
{