File: D:/HostingSpaces/SBogers10/boldt.komma.pro/app/Komma/Auth/SiteForgotPasswordController.php
<?php
namespace App\Komma\Auth;
use App\Komma\Base\Controller;
use Illuminate\Foundation\Auth\SendsPasswordResetEmails;
use Illuminate\Support\Facades\Password;
final class SiteForgotPasswordController 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('guest');
parent::__construct();
}
public function showLinkRequestForm()
{
return view('site.templates.auth.password.email', ['links' => $this->links, 'languageMenu' => ['nl' => '/nl/wachtwoord/vergeten', 'en' => '/en/password/forgot'] ]);
}
/**
* Get the broker to be used during password reset.
*
* @return \Illuminate\Contracts\Auth\PasswordBroker
*/
public function broker()
{
return Password::broker('site_users_broker'); //See auth.php
}
}