fix(ldap): return unrecoverable_error if more than on match found

This commit is contained in:
Zaiming (Stone) Shi 2023-09-28 23:58:34 +02:00
parent 0ff28afc3d
commit 9ee2cb9c79
1 changed files with 1 additions and 1 deletions

View File

@ -279,7 +279,7 @@ do_ldap_query(
count => length(L)
}
),
{error, {recoverable_error, Msg}}
{error, {unrecoverable_error, Msg}}
end;
{error, 'noSuchObject'} ->
{ok, []};