jonnybarnes.uk/app/Http/Controllers/Auth/ResetPasswordController.php
Jonny Barnes 745d16c610 Bring in upstream changed from github.com/laravel/laravel
Squashed commit of the following:

commit e6e0ea2e6e0db9637ae67dfa913ec42f7f08b81e
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Wed Oct 19 21:49:59 2016 +0100

    Remove needless .gitkeep files

commit 1c7704b2913c689c6cad0eb934787e9fedf0f4fa
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Wed Oct 19 21:48:47 2016 +0100

    Use fullpath import for the validator facade

commit dbc28853b6712ba040394cf9943a1a8de85bf44c
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Wed Oct 19 21:46:07 2016 +0100

    Add redirectTo attribute to the reset password controller

commit 0555680e24c0175acce0be66a2f332c5fa4b35a1
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Wed Oct 19 21:44:00 2016 +0100

    Ignore Passport-generated OAuth keys

commit 1be872180c52bc267cd43f3a7b8e2b49b4c6f023
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Wed Oct 19 21:41:42 2016 +0100

    Fixing typehint

commit d72b783f8511898fe13fbb99fa5739a846801db9
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Wed Oct 19 21:40:35 2016 +0100

    fix spacing

commit 4870a56fbe273a37ce67203c0e0aed857dccbb1f
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Wed Oct 19 21:39:54 2016 +0100

    Add typehint for factory
2016-10-19 21:51:12 +01:00

39 lines
952 B
PHP

<?php
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');
}
}