line |
true |
false |
branch |
18
|
0 |
14 |
if $c->is_user_authenticated |
33
|
1 |
11 |
if ($v->csrf_protect->has_error('csrf_token')) { } |
|
0 |
11 |
elsif ($v->has_error) { } |
51
|
11 |
0 |
if ($c->authenticate($o->{'login_name'}, $o->{'digest'}, $o)) |
55
|
1 |
10 |
$c->stash('passw_login') ? : |
56
|
1 |
10 |
ref $route ? : |
71
|
3 |
62 |
unless ($c->is_user_authenticated) |
80
|
38 |
24 |
if $c->groups->is_admin($uid) |
83
|
1 |
23 |
if ($route =~ /groups|domove$/u) |
92
|
3 |
20 |
$e_uid ? : |
93
|
1 |
2 |
if ($route =~ /^(show|edit|update|remove)_users$/ux and $e_user and ($e_user->{'created_by'} != $uid and $e_user->{'id'} != $uid)) |
110
|
0 |
0 |
unless ($c->groups->is_admin($c->user->{'id'})) |
133
|
0 |
11 |
unless ($u) |
140
|
1 |
10 |
unless ($checksum eq $csrf_digest) |
150
|
1 |
0 |
if ($row and $checksum2 eq $csrf_digest) |
175
|
1 |
0 |
if $c->is_user_authenticated |
182
|
0 |
1 |
unless (defined $row) |
199
|
0 |
1 |
unless (defined $row) |
215
|
0 |
1 |
unless ($ok) |
221
|
1 |
0 |
if ($INC{'Slovo/Task/SendOnboardingEmail.pm'}) { } |
237
|
1 |
1 |
if ($c->req->method eq "POST") |
242
|
1 |
0 |
if ($INC{'Slovo/Task/SendPasswEmail.pm'}) |
246
|
1 |
0 |
if (my $user = $c->users->find_where({'email', $in->{'email'}})) { } |