2023-08-21 10:22:07 +02:00
|
|
|
<?php
|
|
|
|
|
|
2026-10-02 12:09:46 +02:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
2023-08-21 10:22:07 +02:00
|
|
|
namespace App\Http\Controllers\Bo\Auth;
|
|
|
|
|
|
|
|
|
|
use App\Http\Controllers\Controller;
|
|
|
|
|
use Illuminate\Contracts\Auth\StatefulGuard;
|
|
|
|
|
use Illuminate\Foundation\Auth\ResetsPasswords;
|
|
|
|
|
use Illuminate\Support\Facades\Auth;
|
|
|
|
|
|
|
|
|
|
class ResetPasswordController extends Controller
|
|
|
|
|
{
|
|
|
|
|
use ResetsPasswords;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Get the guard to be used during authentication.
|
|
|
|
|
*/
|
|
|
|
|
protected function guard(): StatefulGuard
|
|
|
|
|
{
|
|
|
|
|
return Auth::guard('backend');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Where to redirect users after login.
|
|
|
|
|
*/
|
|
|
|
|
protected function redirectTo(): string
|
|
|
|
|
{
|
|
|
|
|
return \route('bo.login');
|
|
|
|
|
}
|
|
|
|
|
}
|