Hashing user password on create method

parent 69264421
......@@ -47,6 +47,7 @@ class SentinelUserRepository implements UserRepository
*/
public function create(array $data, $activated = false)
{
$this->hashPassword($data);
$user = $this->user->create((array) $data);
if ($activated) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment