Skip to content

Commit

Permalink
Merge pull request #150 from misteu/patch-1
Browse files Browse the repository at this point in the history
Fix user account settings `Unknown component ID: authClientCollection`
  • Loading branch information
gugoan authored Apr 19, 2023
2 parents 56231f8 + f00ab40 commit 3730880
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions config/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,22 +83,22 @@
],
],
],
// 'authClientCollection' => [
// 'class' => 'yii\authclient\Collection',
// 'clients' => [
// 'google' => [
// 'class' => 'yii\authclient\clients\Google',
// 'clientId' => '',
// 'clientSecret' => '',
// ],
// 'facebook' => [
// 'class' => 'yii\authclient\clients\Facebook',
// 'clientId' => '',
// 'clientSecret' => '',
// 'scope' => 'email',
// ],
// ]
// ],
'authClientCollection' => [
'class' => 'yii\authclient\Collection',
'clients' => [
'google' => [
'class' => 'yii\authclient\clients\Google',
'clientId' => '',
'clientSecret' => '',
],
'facebook' => [
'class' => 'yii\authclient\clients\Facebook',
'clientId' => '',
'clientSecret' => '',
'scope' => 'email',
],
]
],
'assetManager' => [
'bundles' => [
'yii\authclient\widgets\AuthChoiceStyleAsset' => [
Expand Down

0 comments on commit 3730880

Please sign in to comment.