make sure to remove the $this-> from the constructor as well.
I removed as instructed and mine is working fine.
Sure, I removed the $this->passwords = $passwords; instructions as well. That's not the problem. The above error occurs inside the method postReset(Request $request). Inside there is a function call as following: $response = $this->passwords->reset($credentials, function($user, $password) { /* ... */}); I think this raises the error...
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.