diff options
author | Camil Staps | 2016-10-18 11:45:29 +0200 |
---|---|---|
committer | Camil Staps | 2016-10-18 11:45:29 +0200 |
commit | bd271840496248553e634b2e325e34076666375c (patch) | |
tree | e8fdbe56d6a1b365449e2cfb9b40bd75ff029fd9 /app/Http/Controllers/Auth/RegisterController.php | |
parent | Suggetsions ordering (diff) |
Fix authentication
Diffstat (limited to 'app/Http/Controllers/Auth/RegisterController.php')
-rw-r--r-- | app/Http/Controllers/Auth/RegisterController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Http/Controllers/Auth/RegisterController.php b/app/Http/Controllers/Auth/RegisterController.php index ed46cab..29ec08a 100644 --- a/app/Http/Controllers/Auth/RegisterController.php +++ b/app/Http/Controllers/Auth/RegisterController.php @@ -67,7 +67,7 @@ class RegisterController extends Controller 'email' => $data['email'], ]); - $user->password = $data['password']; + $user->password = bcrypt($data['password']); $user->save(); |