Skip to content

Commit

Permalink
Fix #27: Double crypting the password on create prevent user from log…
Browse files Browse the repository at this point in the history
…in in after registration.
  • Loading branch information
sroutier committed Mar 25, 2016
1 parent 9c63755 commit c81a3e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Auth/AuthController.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ protected function create(array $data)
'last_name' => $data['last_name'],
'username' => $data['username'],
'email' => $data['email'],
'password' => bcrypt($data['password']),
'password' => $data['password'],
]);

return $user;
Expand Down

0 comments on commit c81a3e5

Please sign in to comment.