mirror of
https://github.com/dducret/kopano-webapp-passwd
synced 2026-08-05 23:13:01 +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);
|
ldap_set_option($ldapconn, LDAP_OPT_PROTOCOL_VERSION, 3);
|
||||||
|
|
||||||
// login with current password if that fails then current password is wrong
|
// 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) {
|
if(ldap_errno($ldapconn) === 0) {
|
||||||
$passwd = $data['new_password'];
|
$passwd = $data['new_password'];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue