Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call to a member function generateResetHash() on array #276

Closed
hdrodriguez opened this issue Oct 5, 2020 · 1 comment
Closed

Call to a member function generateResetHash() on array #276

hdrodriguez opened this issue Oct 5, 2020 · 1 comment

Comments

@hdrodriguez
Copy link

Sending new password or recovery password show error as Call to a member function generateResetHash() on array

Selección_054

@MGatner
Copy link
Collaborator

MGatner commented Jan 14, 2021

It looks like the Model factory probably returned an alternate UserModel that has a different return type of array. We probably need some way to ensure that the Model being used has the correct return, and interface maybe. For now make sure if you have extended the Model that it returns Myth\Auth\Entities\User, or some extension thereof.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants