Fix LDAP user registration #229

Merged
floatingghost merged 1 commit from nullobsi/akkoma:fix-ldap into develop 2022-11-01 14:17:56 +00:00

View file

@ -102,7 +102,7 @@ defp register_user(connection, base, uid, name) do
{:scope, :eldap.wholeSubtree()}, {:scope, :eldap.wholeSubtree()},
{:timeout, @search_timeout} {:timeout, @search_timeout}
]) do ]) do
{:ok, {:eldap_search_result, [{:eldap_entry, _, attributes}], _}} -> {:ok, {:eldap_search_result, [{:eldap_entry, _, attributes}], _, _}} ->
params = %{ params = %{
name: name, name: name,
nickname: name, nickname: name,