Skip to content
Discussion options

You must be logged in to vote

For the admin panel(BACKPACK), you can set different model in config/backpack/base.php

'user_model_fqn' => App\Models\Admin::class,

For the client panel(NOT BACKPACK), you can keep using the user model which is set in config/auth.php

'users' => [
            'driver' => 'eloquent',
            'model' => App\Models\User::class,
        ],

But you can't use different model/table for each role of the admin panel.

More Info: https://backpackforlaravel.com/docs/6.x/base-about#using-a-different-user-model-1

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@k1g0r
Comment options

Answer selected by tabacitu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants