| line |
true |
false |
branch |
|
18
|
0 |
12 |
unless my $auth = $self->authenticator |
|
19
|
0 |
12 |
if (&Scalar::Util::blessed($auth) and $auth->can('authenticate')) { } |
|
|
0 |
12 |
elsif (ref $auth ne 'CODE') { } |
|
30
|
6 |
20 |
if ($$env{'psgix.session'}{'remember'}) |
|
31
|
5 |
1 |
if ($path ne '/logout') |
|
36
|
16 |
10 |
if ($path eq '/login') { } |
|
|
3 |
7 |
elsif ($path eq '/logout') { } |
|
48
|
1 |
0 |
if ($self->secure and !defined($$env{'psgi.url_scheme'}) || lc $$env{'psgi.url_scheme'} ne 'https' and !defined($$env{'HTTP_X_FORWARDED_PROTO'}) || lc $$env{'HTTP_X_FORWARDED_PROTO'} ne 'https') |
|
53
|
1 |
0 |
$self->ssl_port ? : |
|
61
|
9 |
6 |
if ($$env{'REQUEST_METHOD'} eq 'POST') { } |
|
|
1 |
5 |
elsif (defined $$env{'psgix.session'}{'user_id'}) { } |
|
65
|
2 |
7 |
if (ref $auth_result) { } |
|
71
|
3 |
4 |
unless $auth_result |
|
76
|
6 |
3 |
unless ($login_error) |
|
79
|
2 |
4 |
$params->get('remember') ? : |
|
81
|
5 |
1 |
unless (defined $redir_to) |
|
83
|
0 |
5 |
if 'URI'->new($redir_to)->path eq $$env{'PATH_INFO'} |
|
106
|
2 |
6 |
if ($self->no_login_page) { } |
|
123
|
3 |
5 |
if ($params{'login_error'}) |
|
126
|
3 |
5 |
defined $params{'username'} ? : |
|
142
|
3 |
0 |
if ($$env{'REQUEST_METHOD'} eq 'POST') |