]> iEval git - apache2-authen-passphrase.git/blobdiff - lib/Apache2/Authen/Passphrase.pm
Fix experimental warnings
[apache2-authen-passphrase.git] / lib / Apache2 / Authen / Passphrase.pm
index 612e60515d792c24efa4fb0e8f690bf683b64701..5debb55607d64c95409e1a76638ca8a02452f4f0 100644 (file)
@@ -59,7 +59,7 @@ sub pwcheck{
        my $conf=LoadFile "$rootdir/$user.yml";
 
        ## no critic (RequireCarping)
-       die BAD_PASSWORD unless keys $conf;          # Empty hash means no such user
+       die BAD_PASSWORD unless keys %$conf;          # Empty hash means no such user
        die BAD_PASSWORD unless Authen::Passphrase->from_rfc2307($conf->{passphrase})->match($pass);
        ## use critic
        pwset $user, $pass if $conf->{passphrase_version} < PASSPHRASE_VERSION
This page took 0.026366 seconds and 4 git commands to generate.