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

Incorrect User model/namespace in laravel-logger config #381

Closed
RobertGasch opened this issue Dec 6, 2020 · 0 comments
Closed

Incorrect User model/namespace in laravel-logger config #381

RobertGasch opened this issue Dec 6, 2020 · 0 comments

Comments

@RobertGasch
Copy link

Did you star the repo?
Yes

Describe the bug
The User model specified in the laravel-logger config file is incorrect for the namespace structure used. It is set to App\User but it should be App\Models\User.

** Fix **
I fixed it by publishing the laravelLogger config file to /config but the proper fix would be to add LARAVEL_LOGGER_USER_MODEL to the .env file and set the appropriate value there.

maxdestors added a commit to maxdestors/laravel-auth that referenced this issue Dec 30, 2021
jeremykenedy added a commit that referenced this issue Dec 31, 2021
Incorrect User model/namespace in laravel-logger config #381
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