You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: