aboutsummaryrefslogtreecommitdiff
path: root/app/Http/Controllers/Auth/RegisterController.php
diff options
context:
space:
mode:
authorCamil Staps2016-10-18 11:45:29 +0200
committerCamil Staps2016-10-18 11:45:29 +0200
commitbd271840496248553e634b2e325e34076666375c (patch)
treee8fdbe56d6a1b365449e2cfb9b40bd75ff029fd9 /app/Http/Controllers/Auth/RegisterController.php
parentSuggetsions ordering (diff)
Fix authentication
Diffstat (limited to 'app/Http/Controllers/Auth/RegisterController.php')
-rw-r--r--app/Http/Controllers/Auth/RegisterController.php2
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();