Crivaledaz / Mattermost-LDAP

This module provides an external LDAP authentication in Mattermost for the Team Edition (free).
MIT License
357 stars 71 forks source link

Change parameter order to prevent PHP 8.1 deprecation warning #98

Open greenertux opened 1 year ago

greenertux commented 1 year ago

I have made some changes to not get this warning:

Deprecated: Optional parameter $ldap_filter declared before required parameter $ldap_bind_pass is implicitly treated as a required parameter in /var/www/html/auth/LDAP/LDAPInterface.php on line 30

Maybe it would help others to include this in your codebase.