Skip to content
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

Fix user()->authenticate() method #146

Open
MrTAN1AX opened this issue Dec 19, 2022 · 0 comments
Open

Fix user()->authenticate() method #146

MrTAN1AX opened this issue Dec 19, 2022 · 0 comments

Comments

@MrTAN1AX
Copy link

Hello everyone,

I know this project is deprecated but if you still use this library and you recently update your php version
You probably will encounter some problem with the method above of the class adldapUsers

replace this part of code at line 448

for ($i = 0; $i < $length; $i++) { $encoded .= "{$password{$i} }\000"; }

with this one

for ($i = 0; $i < $length; $i++) { $encoded .= $password[$i]; }

Bye.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant