Skip to content

Commit fbca558

Browse files
committed
Add a warning comment on ldap empty password
1 parent c44a5cc commit fbca558

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Adapter/ExtLdap/Connection.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ public function isBound()
5050

5151
/**
5252
* {@inheritdoc}
53+
*
54+
* @param string $password WARNING: When the LDAP server allows unauthenticated binds, a blank $password will always be valid.
5355
*/
5456
public function bind($dn = null, $password = null)
5557
{

0 commit comments

Comments
 (0)