-
-
Notifications
You must be signed in to change notification settings - Fork 267
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
Authentication Error when no credentialCallable is given. #816
Comments
Same error here Please do the suggested change in Class DoctrineModule\Options\Authentication on line 83 from protected mixed $credentialCallable; to: protected mixed $credentialCallable = null; as temporary bypass I'll set a wrapper function in my configuration
|
I looked at this with one of the more recent releases and I did not find a use case where |
@TomHAnderson My application integrates Doctrine in Laminas, and in this case is not set. It is a simple update that:
|
@curzio-della-santa Please provide a PR with the suggested change and I'll happily review and merge it. |
@driehle PR is ready, thanks for your attention. |
An credentialCallable is optional in the Authentication-Options
Trying to Auth without credentialCallable results in the following Error (php8.2)
Error: Typed property DoctrineModule\Options\Authentication::$credentialCallable must not be accessed before initialization
Please Change Line 83 in Class DoctrineModule\Options\Authentication
From
protected mixed $credentialCallable = null;
To
protected mixed $credentialCallable = null;
The text was updated successfully, but these errors were encountered: