for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Thinktomorrow\Chief\App\Http\Controllers\Auth;
use Illuminate\Foundation\Auth\SendsPasswordResetEmails;
use Thinktomorrow\Chief\Admin\Authorization\ChiefPasswordBrokerResolver;
use Thinktomorrow\Chief\App\Http\Controllers\Controller;
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;
/**
* Create a new controller instance.
*
* @return void
public function __construct()
$this->middleware('chief-guest');
}
* @return \Illuminate\Contracts\View\Factory|\Illuminate\Contracts\View\View
public function showLinkRequestForm()
return view('chief::admin.auth.passwords.email');
protected function broker()
return (new ChiefPasswordBrokerResolver(app()))->resolve();