|
Lines 25-32
return {
Link Here
|
| 25 |
}); |
25 |
}); |
| 26 |
|
26 |
|
| 27 |
foreach my $api_key (@$results) { |
27 |
foreach my $api_key (@$results) { |
| 28 |
my $digest = Koha::AuthUtils::hash_password( $api_key->{secret} ); |
28 |
unless ( $api_key->{secret} =~ m/^\$2a\$08\$/ ) { |
| 29 |
$sth->execute( $digest, $api_key->{client_id} ); |
29 |
my $digest = Koha::AuthUtils::hash_password( $api_key->{secret} ); |
|
|
30 |
$sth->execute( $digest, $api_key->{client_id} ); |
| 31 |
} |
| 30 |
} |
32 |
} |
| 31 |
}, |
33 |
}, |
| 32 |
} |
34 |
} |
| 33 |
- |
|
|