From 72e77aba76705a989a1221b07a0dc9ffcab853bd Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Tue, 25 Feb 2020 16:02:36 -0500 Subject: [PATCH] Pull in upstream updates to the auth controllers --- .../Controllers/Auth/ConfirmPasswordController.php | 3 ++- .../Controllers/Auth/ForgotPasswordController.php | 9 +++++---- app/Http/Controllers/Auth/LoginController.php | 12 +++++++----- app/Http/Controllers/Auth/RegisterController.php | 12 +++++++----- .../Controllers/Auth/ResetPasswordController.php | 12 +++++++----- app/Http/Controllers/Auth/VerificationController.php | 3 ++- 6 files changed, 30 insertions(+), 21 deletions(-) diff --git a/app/Http/Controllers/Auth/ConfirmPasswordController.php b/app/Http/Controllers/Auth/ConfirmPasswordController.php index dc0852c..138c1f0 100644 --- a/app/Http/Controllers/Auth/ConfirmPasswordController.php +++ b/app/Http/Controllers/Auth/ConfirmPasswordController.php @@ -3,6 +3,7 @@ namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; +use App\Providers\RouteServiceProvider; use Illuminate\Foundation\Auth\ConfirmsPasswords; class ConfirmPasswordController extends Controller @@ -25,7 +26,7 @@ class ConfirmPasswordController extends Controller * * @var string */ - protected $redirectTo = '/'; + protected $redirectTo = RouteServiceProvider::HOME; /** * Create a new controller instance. diff --git a/app/Http/Controllers/Auth/ForgotPasswordController.php b/app/Http/Controllers/Auth/ForgotPasswordController.php index b3ec0f8..465c39c 100644 --- a/app/Http/Controllers/Auth/ForgotPasswordController.php +++ b/app/Http/Controllers/Auth/ForgotPasswordController.php @@ -1,10 +1,12 @@ -middleware('guest')->except('logout'); } - } diff --git a/app/Http/Controllers/Auth/RegisterController.php b/app/Http/Controllers/Auth/RegisterController.php index c49555e..cfe50bf 100644 --- a/app/Http/Controllers/Auth/RegisterController.php +++ b/app/Http/Controllers/Auth/RegisterController.php @@ -1,14 +1,17 @@ -