Merge branch 'ldap-wtf' into 'develop'

Remove redundant code from register_changeset_ldap

See merge request pleroma/pleroma!4412
This commit is contained in:
feld 2025-09-12 16:51:54 +00:00
commit 1efe48672d
2 changed files with 0 additions and 7 deletions

View file

View file

@ -801,13 +801,6 @@ defmodule Pleroma.User do
when is_nil(password) do
params = Map.put_new(params, :accepts_chat_messages, true)
params =
if Map.has_key?(params, :email) do
Map.put_new(params, :email, params[:email])
else
params
end
struct
|> cast(params, [
:name,