We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c1a95c commit dfb0e3aCopy full SHA for dfb0e3a
2 files changed
config/users.php
@@ -59,6 +59,8 @@
59
'Social' => [
60
// enable social login
61
'login' => false,
62
+ // enable social login
63
+ 'authenticator' => 'CakeDC/Users.Social',
64
],
65
'GoogleAuthenticator' => [
66
// enable Google Authenticator
src/Controller/Component/UsersAuthComponent.php
@@ -79,7 +79,7 @@ protected function _loadGoogleAuthenticator()
79
protected function _loadSocialLogin()
80
{
81
$this->getController()->Auth->setConfig('authenticate', [
82
- 'CakeDC/Users.Social'
+ Configure::read('Users.Social.authenticator')
83
], true);
84
}
85
0 commit comments