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

(-)a/installer/data/mysql/atomicupdate/bug_28772_api_keys.pl (-3 / +4 lines)
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
- 

Return to bug 28772