mirror of
https://github.com/nothingworksinc/ticketbeast.git
synced 2026-02-06 17:49:58 +00:00
(test for old input on failed login)
This commit is contained in:
@@ -16,7 +16,7 @@ class LoginController extends Controller
|
||||
public function login()
|
||||
{
|
||||
if (! Auth::attempt(request(['email', 'password']))) {
|
||||
return redirect('/login')->withErrors([
|
||||
return redirect('/login')->withInput(request(['email']))->withErrors([
|
||||
'email' => ['These credentials do not match our records.'],
|
||||
]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user