Skip to content

Commit

Permalink
Merge pull request #12 from gugatxr/master
Browse files Browse the repository at this point in the history
Fix: Password was being hashed twice.
  • Loading branch information
MichaelAndish authored Oct 11, 2020
2 parents 1421c68 + 28f2236 commit a9b4656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Controllers/Admin/UsersController.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public function store(StoreUser $request)
'email' => $request->email,
'mobile' => $request->mobile,
'status' => $request->status ?? 'pending',
'password' => bcrypt($request->password)
'password' => $request->password
]);

$roles = $request->roles ?? [];
Expand Down

0 comments on commit a9b4656

Please sign in to comment.