Remove redundant code from register_changeset_ldap

This commit is contained in:
mkljczk 2025-05-08 15:04:02 +02:00
commit 1f2d4dd634
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,