Commit 24d28533 authored by Clément OUDOT's avatar Clément OUDOT

Fix LDAP test after session variable rewrite (#1169)

parent 388e3132
......@@ -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 ) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment