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

If you actually look around line 239 of PasswordBroker.php, you'll see that the check is actually for CanResetPasswordContract, not CanResetPassword, so your User model is implementing the right interface. The problem is elsewhere.

0
Solution

I checked and its usign GenericUser instance not a User.php, But no idea why its working this way shoudl I extend GenericUser? where I can find more documentation about this ? Its a default laravel configuration its should work out of box.

edit

found problem need to change 'driver' => 'database' to 'driver' => 'eloquent', in config/auth.php

Last updated 9 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

fazi fazi Joined 29 Apr 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.