blib/lib/Clustericious/Plugin/SelfPlugAuth.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 10 | 80.0 |
line | true | false | branch |
---|---|---|---|
25 | 6 | 81 | unless (my $auth = $c->req->headers->authorization) |
36 | 75 | 6 | if ($c->authz->host_has_tag($c->tx->remote_address, 'trusted') or $c->auth->check_credentials($user, $pw)) |
51 | 0 | 75 | unless my $user = $c->stash('user') |
52 | 0 | 75 | unless @_ == 4 |
56 | 73 | 2 | if ($found) { } |