From bd271840496248553e634b2e325e34076666375c Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Tue, 18 Oct 2016 11:45:29 +0200 Subject: Fix authentication --- app/Http/Controllers/Auth/RegisterController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Http/Controllers') 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(); -- cgit v1.2.3