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
Missing argument 1 for Corcel\Providers\AuthUserProvider #190
Comments
Hi, If you are using Laravel, you don't need to instantiate the But if you do have to instantiate |
Ah I see where I went wrong there. But after amending the config/app.php and config/auth.php files as advised, when attempting to login, my laravel app is still looking for my laravel users table, instead of the wordpress users. I thought I might need to create a User model that has a |
Pretty sure your issue was fixed here: #182 You using the latest version? |
Yes, I have the latest version. |
OK, I figured it out. I had to change the default connection in Laravel to the wordpress connection. Then it worked. |
I have installed this package into Laravel, and tried to implement the authentication so that a user can login via the wordpress credentials.
However in the
AuthServiceProvider
class, theconstruct()
takes a$config
variable, but it's not mentioned in the ReadMe under Authentication, and I'm not sure what is supposed to be passed in.Can you help?
The text was updated successfully, but these errors were encountered: