fix(ldap): return unrecoverable_error if more than on match found
This commit is contained in:
parent
0ff28afc3d
commit
9ee2cb9c79
|
@ -279,7 +279,7 @@ do_ldap_query(
|
||||||
count => length(L)
|
count => length(L)
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
{error, {recoverable_error, Msg}}
|
{error, {unrecoverable_error, Msg}}
|
||||||
end;
|
end;
|
||||||
{error, 'noSuchObject'} ->
|
{error, 'noSuchObject'} ->
|
||||||
{ok, []};
|
{ok, []};
|
||||||
|
|
Loading…
Reference in New Issue