Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3748847
D517.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D517.diff
View Options
diff --git a/app/Http/Controllers/Auth/PasswordController.php b/app/Http/Controllers/Auth/PasswordController.php
--- a/app/Http/Controllers/Auth/PasswordController.php
+++ b/app/Http/Controllers/Auth/PasswordController.php
@@ -5,6 +5,8 @@
use AuthGrove\Http\Controllers\Controller;
use AuthGrove\Services\ResetsPasswords;
+use Illuminate\Foundation\Auth\RedirectsUsers;
+
class PasswordController extends Controller
{
/*
@@ -18,6 +20,7 @@
|
*/
+ use RedirectsUsers;
use ResetsPasswords;
/**
diff --git a/app/Services/ResetsPasswords.php b/app/Services/ResetsPasswords.php
--- a/app/Services/ResetsPasswords.php
+++ b/app/Services/ResetsPasswords.php
@@ -8,14 +8,11 @@
use Illuminate\Contracts\Auth\CanResetPassword;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Password;
-use Illuminate\Foundation\Auth\RedirectsUsers;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
trait ResetsPasswords {
- use RedirectsUsers;
-
///
/// GET and POST routes
///
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 17, 11:01 (20 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2249246
Default Alt Text
D517.diff (1 KB)
Attached To
Mode
D517: Move a trait of trait into class
Attached
Detach File
Event Timeline
Log In to Comment