diff options
Diffstat (limited to 'application/models/muser.php')
-rw-r--r-- | application/models/muser.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/application/models/muser.php b/application/models/muser.php index 200390358..947797034 100644 --- a/application/models/muser.php +++ b/application/models/muser.php @@ -258,11 +258,7 @@ class Muser extends CI_Model { function hash_password($password) { - - require_once APPPATH."third_party/PasswordHash.php"; - - $hasher = new PasswordHash(9, false); - return $hasher->HashPassword($password); + return password_hash($password, PASSWORD_DEFAULT); } } |