Change Database Tables From Users To Another #2203
Unanswered
Teddy-time
asked this question in
Q&A
Replies: 1 comment
-
- 'guard' => config('auth.defaults.guard', 'adminorchid'),
+ 'guard' => config('auth.guards.adminorchid'), You are still using the default value. Need to return your |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
My Laravel/Orchid platforms are:
Laravel: 8.83.8
Orchid: 11.0.1
Am having an issue changing from tables from the Users table to my own custome Orchid_admin table. I have effected the following changes:
config\auth.php
'guards' => [
And in this:
config\platform.php
'guard' => config('auth.defaults.guard', 'adminorchid'),
And over here:
app\Providers\AppServiceProvider.php
Dashboard::useModel(
\Orchid\Platform\Models\User::class,
\App\Models\Orchid_admin::class
);
Yet, orchid is still using the 'Users' database table for authentication.
Any insights would be appreciated
Beta Was this translation helpful? Give feedback.
All reactions