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