diff options
author | Mark Felder <feld@FreeBSD.org> | 2020-08-05 08:15:57 -0500 |
---|---|---|
committer | Mark Felder <feld@FreeBSD.org> | 2020-08-05 08:15:57 -0500 |
commit | f7146583e5f1c2d0e8a198db00dfafced79d0706 (patch) | |
tree | fbeac41f17baff10acc22c4a4e772d04b839d4de /test | |
parent | b1b6a7dfa890a6ae16f49d2f91e2ebdbaecf1724 (diff) | |
download | pleroma-f7146583e5f1c2d0e8a198db00dfafced79d0706.tar.gz |
Remove LDAP mail attribute as a requirement for registering an account
Diffstat (limited to 'test')
-rw-r--r-- | test/web/oauth/ldap_authorization_test.exs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/web/oauth/ldap_authorization_test.exs b/test/web/oauth/ldap_authorization_test.exs index 011642c08..76ae461c3 100644 --- a/test/web/oauth/ldap_authorization_test.exs +++ b/test/web/oauth/ldap_authorization_test.exs @@ -72,9 +72,7 @@ defmodule Pleroma.Web.OAuth.LDAPAuthorizationTest do equalityMatch: fn _type, _value -> :ok end, wholeSubtree: fn -> :ok end, search: fn _connection, _options -> - {:ok, - {:eldap_search_result, [{:eldap_entry, '', [{'mail', [to_charlist(user.email)]}]}], - []}} + {:ok, {:eldap_search_result, [{:eldap_entry, '', []}], []}} end, close: fn _connection -> send(self(), :close_connection) |