Completely remove the use of Redirect::back - closes #867

This commit is contained in:
James Brooks
2015-08-13 22:28:30 +01:00
parent bee4055228
commit b393557c8a
25 changed files with 73 additions and 90 deletions

View File

@@ -59,7 +59,7 @@ class AuthController extends Controller
return Redirect::intended('dashboard');
}
return Redirect::back()
return Redirect::route('auth.login')
->withInput(Binput::except('password'))
->withError(trans('forms.login.invalid'));
}