password = Hash::make($newPassword); $this->save(); if ($sendToEmail) { $this->notify(instance: new UserRegistered($this->email, password: $newPassword)); } return $newPassword; } }