]> BookStack Code Mirror - bookstack/blobdiff - app/Access/Controllers/ResetPasswordController.php
System CLI: Updated to 126de5599c state
[bookstack] / app / Access / Controllers / ResetPasswordController.php
index a8a45dddf1f87f4ca80fb13951fafdf58c4fceab..3af65d17fb607207180417b64df10bd92cbd52cc 100644 (file)
@@ -15,14 +15,11 @@ use Illuminate\Validation\Rules\Password as PasswordRule;
 
 class ResetPasswordController extends Controller
 {
-    protected LoginService $loginService;
-
-    public function __construct(LoginService $loginService)
-    {
+    public function __construct(
+        protected LoginService $loginService
+    ) {
         $this->middleware('guest');
         $this->middleware('guard:standard');
-
-        $this->loginService = $loginService;
     }
 
     /**