Skip to content

Commit 2208e81

Browse files
committed
Merge branch 'patch-1' of https://github.com/guizoxxv/framework into 5.6
2 parents f8d042a + 94a0d07 commit 2208e81

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Illuminate/Foundation/Auth/SendsPasswordResetEmails.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ protected function sendResetLinkResponse($response)
7070
*/
7171
protected function sendResetLinkFailedResponse(Request $request, $response)
7272
{
73-
return back()->withErrors(
74-
['email' => trans($response)]
75-
);
73+
return back()
74+
->withInput($request->only('email'))
75+
->withErrors(['email' => trans($response)]);
7676
}
7777

7878
/**

0 commit comments

Comments
 (0)