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

(-)a/misc/devel/create_superlibrarian.pl (-4 / +1 lines)
Lines 46-57 my $patron = Koha::Patron->new({ Link Here
46
    cardnumber   => $cardnumber,
46
    cardnumber   => $cardnumber,
47
    branchcode   => $branchcode,
47
    branchcode   => $branchcode,
48
    categorycode => $categorycode,
48
    categorycode => $categorycode,
49
    password     => $password,
50
    flags        => 1,
49
    flags        => 1,
51
})->store;
50
})->store;
52
51
53
my $digest = Koha::AuthUtils::hash_password($password);
52
$patron->update_password( $userid, $password );
54
$patron->update({password => $digest,});
55
53
56
=head1 NAME
54
=head1 NAME
57
55
58
- 

Return to bug 21087