Fix LDAP test after session variable rewrite (#1169)

This commit is contained in:
Clément Oudot 2017-03-30 08:50:13 +00:00
parent 388e313250
commit 24d28533ad

View File

@ -25,7 +25,7 @@ sub modifyPassword {
my ( $self, $req, $pwd ) = @_;
# Call the modify password method
my $code = $self->ldap->userModifyPassword( $req->userData->{dn},
my $code = $self->ldap->userModifyPassword( $req->userData->{_dn},
$pwd, $req->datas->{oldpassword} );
unless ( $code == PE_PASSWORD_OK ) {