for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Microboard\Http\Controllers\Auth;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;
use Microboard\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\SendsPasswordResetEmails;
class ForgotPasswordController extends Controller
{
/*
|--------------------------------------------------------------------------
| Password Reset Controller
|
| This controller is responsible for handling password reset emails and
| includes a trait which assists in sending these notifications from
| your application to your users. Feel free to explore this trait.
*/
use SendsPasswordResetEmails;
/**
* Display the form to request a password reset link.
*
* @return \Illuminate\View\View
public function showLinkRequestForm()
return view('microboard::auth.passwords.email');
}
* Get the response for a successful password reset link.
* @param \Illuminate\Http\Request $request
* @param string $response
* @return \Illuminate\Http\RedirectResponse
protected function sendResetLinkResponse(Request $request, $response)
$request
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
return back()->with('alert', [
'type' => 'success',
'text' => trans($response)
]);
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.