Support the ongoing development of Laravel.io →
Authentication Security
Last updated 2 years ago.
0

make sure to remove the $this-> from the constructor as well.

I removed as instructed and mine is working fine.

0

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...

0

Sign in to participate in this thread!

Eventy

Your banner here too?

algorhythm algorhythm Joined 15 Jun 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.