blib/lib/Yancy/Plugin/Auth/Basic.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 10 | 13 | 76.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
247 | 1 | 0 | 6 | $config->{'password_digest'} and $config->{'password_digest'}{'type'} |
line | l | !l | condition |
---|---|---|---|
250 | 5 | 1 | $config->{'schema'} || $config->{'collection'} || die("Error configuring Auth::Basic plugin: No collection defined\n") |
259 | 2 | 2 | $config->{'password_field'} || 'password' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
286 | 1 | 1 | 0 | $config->{'route'} || $app->yancy->editor->route |
400 | 1 | 1 | 0 | $c->req->param("return_to") // $c->url_for("yancy.index") |