diff --git a/Modules/user/user_model.php b/Modules/user/user_model.php index ea685ff16..fd99cff7d 100644 --- a/Modules/user/user_model.php +++ b/Modules/user/user_model.php @@ -530,7 +530,6 @@ public function passwordreset($username,$emailto) { // Generate new random password $newpass = hash('sha256',generate_secure_key(16)); - $newpass = substr($newpass, 0, 10); // Hash and salt $hash = hash('sha256', $newpass);