projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix Reblog API
[akkoma]
/
lib
/
pleroma
/
web
/
auth
/
ldap_authenticator.ex
diff --git
a/lib/pleroma/web/auth/ldap_authenticator.ex
b/lib/pleroma/web/auth/ldap_authenticator.ex
index b1645a3591d9aa58a78872608bde203a888a6828..17e08a2a6dfed05967ef758109594a664ed3036f 100644
(file)
--- a/
lib/pleroma/web/auth/ldap_authenticator.ex
+++ b/
lib/pleroma/web/auth/ldap_authenticator.ex
@@
-1,5
+1,5
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-202
0
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-202
1
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.Auth.LDAPAuthenticator do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.Auth.LDAPAuthenticator do
@@
-116,7
+116,7
@@
defmodule Pleroma.Web.Auth.LDAPAuthenticator do
_ -> params
end
_ -> params
end
- changeset = User.register_changeset(%User{}, params)
+ changeset = User.register_changeset
_ldap
(%User{}, params)
case User.register(changeset) do
{:ok, user} -> user
case User.register(changeset) do
{:ok, user} -> user