Merge branch 'v5-issues' into 'master'

V5 issues

See merge request mohit.panjvani/crater-web!1301
This commit is contained in:
Mohit Panjwani
2021-12-01 12:08:37 +00:00
10 changed files with 44 additions and 11 deletions

View File

@ -45,6 +45,8 @@ class ForgotPasswordController extends Controller
*/
protected function sendResetLinkFailedResponse(Request $request, $response)
{
return response('Email could not be sent to this email address.', 403);
return response()->json([
'error' => 'Email could not be sent to this email address.'
], 403);
}
}