Commit da9dd7d3 authored by Taylor Otwell's avatar Taylor Otwell

Respect remember me setting.

parent 769f2486
......@@ -75,7 +75,9 @@ class AuthController extends Controller {
*/
public function postLogin(LoginRequest $request)
{
if ($this->auth->attempt($request->only('email', 'password')))
$credentials = $request->only('email', 'password');
if ($this->auth->attempt($credentials, $request->has('remember')))
{
return redirect('/dashboard');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment