From ed3d40a4e02aaeaa77ef27ee477d9b8edca77e1a Mon Sep 17 00:00:00 2001 From: James Cole Date: Wed, 25 Mar 2015 22:29:32 +0100 Subject: [PATCH] Whoops. --- app/Http/Controllers/Auth/AuthController.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/Http/Controllers/Auth/AuthController.php b/app/Http/Controllers/Auth/AuthController.php index b4c92cf941..8c1d0f5b64 100644 --- a/app/Http/Controllers/Auth/AuthController.php +++ b/app/Http/Controllers/Auth/AuthController.php @@ -63,6 +63,9 @@ class AuthController extends Controller ); } + $data =$request->all(); + $data['password'] = bcrypt($data['password']); + $this->auth->login($this->registrar->create($request->all())); // get the email address