You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: [InvalidArgumentException] Expression is missing operator (IS, IS NOT) with null value. in ./vendor/cakephp/cakephp/src/Database/Expression/QueryExpression.php on line 784
However, by commenting out line 138 authentication succeeds.
The text was updated successfully, but these errors were encountered:
gdimakop
changed the title
Checking for existing user is dependent ONLY on 'email' in SocialBehavior
Checking for existing user is ONLY dependent on 'email' in SocialBehavior
Jan 30, 2021
users/blob/master/src/Model/Behavior/SocialBehavior.php:
Line 138: $existingUser = $this->_table->find('existingForSocialLogin', compact('email'))->first();
Checking for existing user is ONLY dependent on 'email' and get an error when 'email' is excluded from authentication/registration cycle.
config/users.php:
'Email' => ['required' => false, 'validate' => false,]
Error: [InvalidArgumentException] Expression is missing operator (IS, IS NOT) with
nullvalue. in ./vendor/cakephp/cakephp/src/Database/Expression/QueryExpression.php on line 784
However, by commenting out line 138 authentication succeeds.
The text was updated successfully, but these errors were encountered: