]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
ldap_get_connection() to return null when passed a config with bad user/pw.
authorJeffery To <jeffery.to@gmail.com>
Fri, 5 Mar 2010 09:54:53 +0000 (17:54 +0800)
committerCraig Andrews <candrews@integralblue.com>
Mon, 8 Mar 2010 18:14:41 +0000 (13:14 -0500)
commit3f696ff0ed4be5791edd38cf7b2a98a364b95676
treed7e42e24ea0ddbc79afa3df6b41b516ef5c2769b
parentb8cb3d2833a5de39e51d5beb463ab8a0d218bbdb
ldap_get_connection() to return null when passed a config with bad user/pw.

This mainly affects login; before if the user enters a valid username
but invalid password, ldap_get_connection() throws an
LDAP_INVALID_CREDENTIALS error. Now the user sees the regular
"Incorrect username of password" error message.
plugins/LdapAuthentication/LdapAuthenticationPlugin.php
plugins/LdapAuthorization/LdapAuthorizationPlugin.php