| line |
true |
false |
branch |
|
247
|
1 |
6 |
unless $config->{'password_digest'} and $config->{'password_digest'}{'type'} |
|
251
|
1 |
4 |
unless $app->yancy->schema($coll) |
|
265
|
2 |
2 |
if (my $error = $@) |
|
266
|
1 |
1 |
if ($error =~ m[Can't locate Digest/$digest_type\.pm in \@INC]u) |
|
298
|
9 |
12 |
if $c->yancy->auth->current_user |
|
300
|
7 |
5 |
if (grep {$_ eq 'api';} @{$c->req->url->path;}) { } |
|
320
|
2 |
11 |
if $r eq $auth_route |
|
327
|
6 |
5 |
if grep {$r->name eq $_;} "yancy.login_form", "yancy.check_login", "yancy.logout" |
|
338
|
16 |
0 |
$username_field ? : |
|
343
|
2 |
26 |
if ($username) |
|
346
|
17 |
11 |
unless $c->session("username") |
|
352
|
1 |
4 |
unless ($user) |
|
358
|
1 |
3 |
unless ($user->{$password_field}) |
|
366
|
1 |
2 |
if ($user->{$password_field} ne $check_pass) |
|
398
|
2 |
1 |
if ($c->yancy->auth->check($user, $pass)) |