|
@@ -1,6 +1,8 @@
|
|
<?php namespace App\Http\Controllers\Auth;
|
|
<?php namespace App\Http\Controllers\Auth;
|
|
|
|
|
|
use App\Http\Controllers\Controller;
|
|
use App\Http\Controllers\Controller;
|
|
|
|
+use Illuminate\Contracts\Auth\Guard;
|
|
|
|
+use Illuminate\Contracts\Auth\PasswordBroker;
|
|
use Illuminate\Foundation\Auth\ResetsPasswords;
|
|
use Illuminate\Foundation\Auth\ResetsPasswords;
|
|
|
|
|
|
class PasswordController extends Controller {
|
|
class PasswordController extends Controller {
|
|
@@ -18,4 +20,19 @@ class PasswordController extends Controller {
|
|
|
|
|
|
use ResetsPasswords;
|
|
use ResetsPasswords;
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * Create a new password controller instance.
|
|
|
|
+ *
|
|
|
|
+ * @param Guard $auth
|
|
|
|
+ * @param PasswordBroker $passwords
|
|
|
|
+ * @return void
|
|
|
|
+ */
|
|
|
|
+ public function __construct(Guard $auth, PasswordBroker $passwords)
|
|
|
|
+ {
|
|
|
|
+ $this->auth = $auth;
|
|
|
|
+ $this->passwords = $passwords;
|
|
|
|
+
|
|
|
|
+ $this->middleware('guest');
|
|
|
|
+ }
|
|
|
|
+
|
|
}
|
|
}
|