Show success message to the user
This commit is contained in:
parent
435626f4b7
commit
19ef901768
3 changed files with 8 additions and 8 deletions
|
@ -33,10 +33,11 @@ class ForgotPasswordController extends Controller
|
|||
/**
|
||||
* Get the response for a successful password reset link.
|
||||
*
|
||||
* @param string $response
|
||||
* @param \Illuminate\Http\Request $request
|
||||
* @param string $response
|
||||
* @return \Illuminate\Http\JsonResponse
|
||||
*/
|
||||
protected function sendResetLinkResponse($response): JsonResponse
|
||||
protected function sendResetLinkResponse(Request $request, $response): JsonResponse
|
||||
{
|
||||
return response()->json([
|
||||
'status' => trans($response),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue