mirror of
https://github.com/dducret/kopano-webapp-passwd
synced 2026-07-27 10:32:26 +02:00
fix typo
This commit is contained in:
parent
dead7d6955
commit
4a3d715321
1 changed files with 2 additions and 2 deletions
|
|
@ -109,7 +109,7 @@ class PasswdModule extends Module
|
|||
ldap_set_option($ldapconn, LDAP_OPT_PROTOCOL_VERSION, 3);
|
||||
|
||||
// login with current password if that fails then current password is wrong
|
||||
$bind = ldap_bind($ladpconn, $userdn, $data['current_password']);
|
||||
$bind = ldap_bind($ldapconn, $userdn, $data['current_password']);
|
||||
|
||||
if(ldap_errno($ldapconn) === 0) {
|
||||
$passwd = $data['new_password'];
|
||||
|
|
@ -245,4 +245,4 @@ class PasswdModule extends Module
|
|||
return $hash;
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue