| line |
l |
!l |
condition |
|
53
|
4 |
0 |
$conf //= {} |
|
54
|
0 |
4 |
$conf->{'helper.prefix'} //= "mhf" |
|
55
|
0 |
4 |
$conf->{'stash.prefix'} //= "mhf" |
|
56
|
3 |
1 |
$conf->{'via'} //= "sqlite" |
|
57
|
4 |
0 |
$conf->{'dir'} //= "migrations" |
|
58
|
0 |
4 |
$conf->{'csrf.name'} //= "mhf_csrf_token" |
|
59
|
0 |
4 |
$conf->{'lock'} //= 1 |
|
60
|
0 |
4 |
$conf->{'s.time'} //= "1w" |
|
61
|
0 |
4 |
$conf->{'c.time'} //= "1w" |
|
62
|
0 |
4 |
$conf->{'cl.time'} //= "60m" |
|
69
|
0 |
4 |
$conf->{'callback'} //= {"has_auth", sub {
}
, "sign_in", sub {
}
, "sign_out", sub {
}
, "lock", sub {
}
, "unlock", sub {
}
} |
|
76
|
0 |
4 |
$conf->{'cookies'} //= {"name", "clg", "path", "/", "httponly", 1, "secure", 0} |
|
78
|
0 |
4 |
$conf->{'cookies_lock'} //= {"name", "clglc", "path", "/", "httponly", 1, "secure", 0} |
|
80
|
0 |
4 |
$conf->{'session'} //= {"cookie_name", "_mhf", "cookie_path", "/", "secure", 0} |
|
144
|
7 |
3 |
$opts //= {} |
|
270
|
26 |
0 |
$auth_check->{'data'}{'csrf'} // "" |
|
|
26 |
0 |
$c->$csrf_get // "" |
| line |
l |
!l&&r |
!l&&!r |
condition |
|
82
|
0 |
4 |
0 |
$conf->{'session'}{'default_expiration'} //= $time_cookies->{'session'} |
|
148
|
2 |
8 |
0 |
$opts->{'s_time'} // $conf->{'s.time'} |
|
|
2 |
8 |
0 |
$opts->{'c_time'} // $conf->{'c.time'} |
|
|
0 |
10 |
0 |
$opts->{'cl_time'} // $conf->{'cl.time'} |
|
166
|
0 |
0 |
3 |
$check_auth->{'result'} == 0 or $check_auth->{'result'} == 3 |
|
202
|
0 |
0 |
3 |
$check_auth->{'result'} == 0 or $check_auth->{'result'} == 3 |
|
350
|
26 |
0 |
5 |
$c->session($conf->{'csrf.name'}) || $c->req->headers->header(uc $conf->{'csrf.name'}) |
|
383
|
0 |
5 |
0 |
$app->$csrf_get || $app->$csrf_reg->[1] |
|
451
|
3 |
0 |
0 |
$seed || $self->utils->gen_cookie(4) |