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

Still cannot assign model version 5.2.0 #139

Closed
webleyson opened this issue Nov 28, 2020 · 4 comments
Closed

Still cannot assign model version 5.2.0 #139

webleyson opened this issue Nov 28, 2020 · 4 comments

Comments

@webleyson
Copy link

Describe the bug
In the docs it says you can set your own Admin model

https://bitfumes.github.io/laravel-multiauth/settings.html#models

I have set the following

'admin' => App\Admin::class,

But this has no affect. I have set in - vendors/config/auth.php and it sets.

What am I doing wrong?

Laravel Version
7.24

To Reproduce
Steps to reproduce the behavior:

Go to 'config/multiauth.php'
Set model to local model - app/Admin.php
dd(Auth::guard('admin')->user());
See error - Not the App/Admin auth
Expected behavior
Expected to see admin from my app folder

@sarthaksavvy
Copy link
Member

can you please try 5.2.1

@webleyson
Copy link
Author

oh, 5.2.1? OK. Will try. Thanks.

@sarthaksavvy
Copy link
Member

Is it working ??

@webleyson
Copy link
Author

Yes sir, it did!! Thankyou so much.

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