From f00ab405fa14ddb43f48dd204ecf2605702f5fb2 Mon Sep 17 00:00:00 2001 From: Michael Steudter <35889530+misteu@users.noreply.github.com> Date: Wed, 19 Apr 2023 23:21:15 +0200 Subject: [PATCH] Removed comments from authClientCollection The user account settings do not work when the comments are there. --- config/web.php | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/config/web.php b/config/web.php index 85dfc62..f2e462b 100644 --- a/config/web.php +++ b/config/web.php @@ -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' => [