Commit 9a276d2e authored by Francesc Guasch's avatar Francesc Guasch
Browse files

Missing user also raises access denied

parent 14579814
......@@ -21,7 +21,8 @@ sub login {
filter => "(&(uid=$username))",
attrs => ['dn']
);
die "not found '$username' at '$base'" if not $search->count;
# die "not found '$username' at '$base'" if not $search->count;
return if not $search->count;
my $user_dn = $search->entry->dn;
......
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