Format code

This commit is contained in:
James Brooks 2014-12-01 08:34:37 +00:00
parent 8a1494541b
commit 13b858a99e

View File

@ -12,7 +12,9 @@ class AuthController extends Controller {
if (Auth::attempt(Input::only(['email', 'password']))) {
return Redirect::intended('dashboard');
} else {
return Redirect::back()->withInput(Input::except('password'))->with('error', 'Invalid email or password');
return Redirect::back()
->withInput(Input::except('password'))
->with('error', 'Invalid email or password');
}
}