Spaces:
Running
Running
Download app/Http/Controllers/Auth/ResetPasswordController.php from lisatthu35/ewa: direct link, hf CLI and curl.
- Browser
- Download file 952 Bytes
-
https://huggingface.co/spaces/lisatthu35/ewa/resolve/main/app/Http/Controllers/Auth/ResetPasswordController.php
- Command line
-
hf download hf://spaces/lisatthu35/ewa/app/Http/Controllers/Auth/ResetPasswordController.php
-
curl -L -o ResetPasswordController.php https://huggingface.co/spaces/lisatthu35/ewa/resolve/main/app/Http/Controllers/Auth/ResetPasswordController.php
952 Bytes
| namespace App\Http\Controllers\Auth; | |
| use App\Http\Controllers\Controller; | |
| use Illuminate\Foundation\Auth\ResetsPasswords; | |
| class ResetPasswordController extends Controller | |
| { | |
| /* | |
| |-------------------------------------------------------------------------- | |
| | Password Reset Controller | |
| |-------------------------------------------------------------------------- | |
| | | |
| | This controller is responsible for handling password reset requests | |
| | and uses a simple trait to include this behavior. You're free to | |
| | explore this trait and override any methods you wish to tweak. | |
| | | |
| */ | |
| use ResetsPasswords; | |
| /** | |
| * Where to redirect users after resetting their password. | |
| * | |
| * @var string | |
| */ | |
| protected $redirectTo = '/home'; | |
| /** | |
| * Create a new controller instance. | |
| * | |
| * @return void | |
| */ | |
| public function __construct() | |
| { | |
| $this->middleware('guest'); | |
| } | |
| } | |