Skip to content

Commit

Permalink
多应用配置文件生成guard配置调整
Browse files Browse the repository at this point in the history
  • Loading branch information
jqhph committed Jul 28, 2020
1 parent 098e156 commit 684ea3d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Console/stubs/config.stub
Original file line number Diff line number Diff line change
Expand Up @@ -121,17 +121,17 @@ return [

'controller' => App\DummyNamespace\Controllers\AuthController::class,

'guard' => 'admin',
'guard' => 'DummyApp',

'guards' => [
'admin' => [
'DummyApp' => [
'driver' => 'session',
'provider' => 'admin',
'provider' => 'DummyApp',
],
],

'providers' => [
'admin' => [
'DummyApp' => [
'driver' => 'eloquent',
'model' => Dcat\Admin\Models\Administrator::class,
],
Expand Down

0 comments on commit 684ea3d

Please sign in to comment.