1 |
21570473
|
Adam Mištera
|
<?php
|
2 |
|
|
|
3 |
|
|
namespace App\Http\Controllers\Auth;
|
4 |
|
|
|
5 |
|
|
use App\Http\Controllers\Controller;
|
6 |
|
|
use App\Providers\RouteServiceProvider;
|
7 |
|
|
use Illuminate\Foundation\Auth\ResetsPasswords;
|
8 |
|
|
|
9 |
|
|
class ResetPasswordController extends Controller
|
10 |
|
|
{
|
11 |
|
|
/*
|
12 |
|
|
|--------------------------------------------------------------------------
|
13 |
|
|
| Password Reset Controller
|
14 |
|
|
|--------------------------------------------------------------------------
|
15 |
|
|
|
|
16 |
|
|
| This controller is responsible for handling password reset requests
|
17 |
|
|
| and uses a simple trait to include this behavior. You're free to
|
18 |
|
|
| explore this trait and override any methods you wish to tweak.
|
19 |
|
|
|
|
20 |
|
|
*/
|
21 |
|
|
|
22 |
|
|
use ResetsPasswords;
|
23 |
|
|
|
24 |
|
|
/**
|
25 |
|
|
* Where to redirect users after resetting their password.
|
26 |
|
|
*
|
27 |
|
|
* @var string
|
28 |
|
|
*/
|
29 |
|
|
protected $redirectTo = RouteServiceProvider::HOME;
|
30 |
|
|
}
|