31 lines
640 B
PHP
31 lines
640 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers\Bo\Auth;
|
|
|
|
use App\Http\Controllers\Controller;
|
|
use Illuminate\Foundation\Auth\ResetsPasswords;
|
|
use Illuminate\Support\Facades\Auth;
|
|
|
|
class ResetPasswordController extends Controller
|
|
{
|
|
use ResetsPasswords;
|
|
|
|
/**
|
|
* Get the guard to be used during authentication.
|
|
*
|
|
* @return \Illuminate\Contracts\Auth\StatefulGuard
|
|
*/
|
|
protected function guard()
|
|
{
|
|
return Auth::guard('backend');
|
|
}
|
|
|
|
/**
|
|
* Where to redirect users after login.
|
|
* @return string
|
|
*/
|
|
protected function redirectTo(): string
|
|
{
|
|
return \route('bo.login');
|
|
}
|
|
}
|