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)
|
||||
}
|
||||
),
|
||||
{error, {recoverable_error, Msg}}
|
||||
{error, {unrecoverable_error, Msg}}
|
||||
end;
|
||||
{error, 'noSuchObject'} ->
|
||||
{ok, []};
|
||||
|
|
Loading…
Reference in New Issue