8000 Add a warning comment on ldap empty password · symfony/symfony@63a8570 · GitHub
[go: up one dir, main page]

Skip to content

Commit 63a8570

Browse files
committed
Add a warning comment on ldap empty password
1 parent 27c131c commit 63a8570

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Symfony/Component/Ldap/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)
0