View | Details | Raw Unified | Return to bug 22048
Collapse All | Expand All

(-)a/C4/Auth_with_ldap.pm (-2 / +1 lines)
Lines 346-352 sub _do_changepassword { Link Here
346
346
347
    my $digest = hash_password($password);
347
    my $digest = hash_password($password);
348
    $debug and print STDERR "changing local password for borrowernumber=$borrowerid to '$digest'\n";
348
    $debug and print STDERR "changing local password for borrowernumber=$borrowerid to '$digest'\n";
349
    Koha::Patrons->find($borrowerid)->update_password( $userid, $password );
349
    Koha::Patrons->find($borrowerid)->set_password({ password => $password, skip_validation => 1 });
350
350
351
    my ($ok, $cardnum) = checkpw_internal(C4::Context->dbh, $userid, $password);
351
    my ($ok, $cardnum) = checkpw_internal(C4::Context->dbh, $userid, $password);
352
    return $cardnum if $ok;
352
    return $cardnum if $ok;
353
- 

Return to bug 22048