Use the array of login data that we already have

This commit is contained in:
James Brooks
2015-09-29 19:36:56 +01:00
parent eadedeecbf
commit 3e9336c598

View File

@@ -54,7 +54,7 @@ class AuthController extends Controller
}
// We probably want to add support for "Remember me" here.
Auth::attempt(Binput::only(['email', 'password']));
Auth::attempt($loginData);
return Redirect::intended('dashboard');
}