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
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