line |
true |
false |
branch |
35
|
10 |
4 |
if ($form->submitted_and_valid)
|
36
|
1 |
9 |
if ($c->req->method ne 'POST') { }
|
|
8 |
1 |
elsif ($c->authenticate({'login', $form->param_value('login'), 'pass', $form->param_value('pass')})) { }
|
51
|
7 |
1 |
unless $c->stash->{'template'}
|
115
|
0 |
0 |
$c->stash->{'proto_pages'}[-1] ? :
|
118
|
0 |
0 |
if ($page_user and $user and $page_user->id eq $user->id || $user->is_admin) { }
|
146
|
0 |
0 |
if ($form->submitted_and_valid)
|
150
|
0 |
0 |
if ($form->params->{'email'} ne $old_email)
|
171
|
0 |
0 |
if ($form->submitted_and_valid)
|
174
|
0 |
0 |
unless ($page_user->valid_pass($form->params->{'current'}))
|
192
|
1 |
1 |
unless $c->req->method eq 'POST'
|
197
|
0 |
1 |
unless ($user)
|
214
|
0 |
1 |
if (scalar @{$c->error;}) { }
|
238
|
0 |
0 |
unless ($c->pref('open_registration') or $c->stash->{'user'} and $c->stash->{'user'}->is_admin)
|
253
|
0 |
2 |
if ($c->pref('use_captcha') and not $c->stash->{'user'} && $c->stash->{'user'}->is_admin)
|
266
|
1 |
1 |
if ($form->submitted_and_valid)
|
268
|
0 |
1 |
if ($c->forward('is_account_taken'))
|
281
|
0 |
1 |
if ($c->stash->{'user'} and $c->stash->{'user'}->is_admin) { }
|
320
|
1 |
0 |
unless $c->pref('entropy')
|
335
|
0 |
1 |
if (scalar @{$c->error;})
|
353
|
0 |
0 |
if ($user and $check eq md5_hex($user->email . $c->pref('entropy')))
|
355
|
0 |
0 |
if ($c->stash->{'user'}) { }
|
378
|
0 |
0 |
unless $c->req->method eq 'POST'
|
379
|
0 |
0 |
if ($c->user->obj->email ne $c->req->param('email'))
|
380
|
0 |
0 |
if ($c->model('DBIC::Person')->search({'email', $c->req->param('email')})->count)
|
407
|
0 |
0 |
$c->stash->{'proto_pages'}[-1] ? :
|
410
|
0 |
0 |
if ($user) { }
|
433
|
0 |
0 |
$c->stash->{'proto_pages'}[-1] ? :
|
436
|
0 |
0 |
if ($user and $c->stash->{'user'} and $c->stash->{'user'}->is_admin || $user->id eq $c->stash->{'user'}->id) { }
|
443
|
0 |
0 |
if ($form->submitted_and_valid)
|
447
|
0 |
0 |
unless $form->submitted
|
473
|
0 |
0 |
if ($c->form->has_missing) { }
|
|
0 |
0 |
elsif ($c->form->has_invalid) { }
|
488
|
0 |
0 |
$c->stash->{'proto_pages'}[-1] ? :
|