mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-18 04:49:23 +00:00
Fix LDAP user registration (#229)
Simple fix for LDAP user registration. I'm not sure what changed but I managed to get Akkoma running in a debug session and figured out it was missing a match for an extra value at the end. I don't know Elixir all that well so I'm not sure if this was the correct way to do it... but it works. :) Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/229 Co-authored-by: nullobsi <me@nullob.si> Co-committed-by: nullobsi <me@nullob.si>
This commit is contained in:
parent
d782140e2b
commit
cbc693f832
|
@ -102,7 +102,7 @@ defmodule Pleroma.Web.Auth.LDAPAuthenticator do
|
|||
{:scope, :eldap.wholeSubtree()},
|
||||
{:timeout, @search_timeout}
|
||||
]) do
|
||||
{:ok, {:eldap_search_result, [{:eldap_entry, _, attributes}], _}} ->
|
||||
{:ok, {:eldap_search_result, [{:eldap_entry, _, attributes}], _, _}} ->
|
||||
params = %{
|
||||
name: name,
|
||||
nickname: name,
|
||||
|
|
Loading…
Reference in a new issue