Skip to content

Commit

Permalink
Fixed #1175
Browse files Browse the repository at this point in the history
  • Loading branch information
samilliken authored Jul 31, 2020
1 parent f2a8e66 commit 7952608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion login_ldap.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ function debug_error_log($stuff) {

$ldapUser=ldap_escape(htmlspecialchars($_POST['username']),null,LDAP_ESCAPE_FILTER);
$ldapDN=str_replace("%userid%",$ldapUser,$config->ParameterArray['LDAPBindDN']);
$ldapPassword=ldap_escape($_POST['password'],null,LDAP_ESCAPE_FILTER);
$ldapPassword=$_POST['password'];

$ldapBind=ldap_bind($ldapConn,$ldapDN,$ldapPassword);

Expand Down

0 comments on commit 7952608

Please sign in to comment.