New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LDAP login failing on 3.10.X #1174
Comments
The error comes from here:
Need fuller trace of why this is happening. Add such debug code to get it: $container = static::getKernel()->getContainer();
if (!$container) {
$e = new \Exception();
error_log($e->getTraceAsString());
} |
Here's the error:
|
I guess src/Auth/Adapter/LdapAdapter.php is borken since 3.10.2 #898 |
This comment has been minimized.
This comment has been minimized.
@areis422 I tried to fix myself but failed so I changed to |
This comment has been minimized.
This comment has been minimized.
Thank you. it worked |
Version(s) affected: 3.10.x (specifically 3.10.5 and 3.10.6)
PHP Version: 7.4.22 (didn't change between 3.9.2 and 3.10.6)
Description
With LDAP enabled and working in 3.9.2, upgrading to 3.10.X results in the following message after submitting the login:
Sorry, there was an error logging you in: Call to a member function get() on null
How to reproduce
Additional context
Log messages:
Auth config (from setup.php):
LDAP Configuration (redacted):
The text was updated successfully, but these errors were encountered: