Commit 2d812961 authored by Francesc Guasch's avatar Francesc Guasch
Browse files

wip(auth): finish it match auth

issue #922
parent e0e716ca
......@@ -353,6 +353,7 @@ sub _load_allowed {
my ($n_allowed, $n_denied) = ( 0,0 );
while ( my ($attribute, $value, $allowed) = $sth->fetchrow) {
$n_allowed++ if $allowed;
$n_denied++ if !$allowed;
......@@ -362,7 +363,7 @@ sub _load_allowed {
$self->{_allowed}->{$id_domain} = $allowed;
last if !$allowed;
last;
}
}
$sth->finish;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment