logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://anongit.hacktivis.me/git/pleroma.git/
commit: 1f2d4dd63460a46de5c4f5e7ff5093fa866f7441
parent 99fbe0418a1bae703b6ae052c9ffd60c361f0249
Author: mkljczk <me@mkljczk.pl>
Date:   Thu,  8 May 2025 15:04:02 +0200

Remove redundant code from register_changeset_ldap

Diffstat:

Achangelog.d/remove-redundant-code.skip0
Mlib/pleroma/user.ex7-------
2 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/changelog.d/remove-redundant-code.skip b/changelog.d/remove-redundant-code.skip diff --git a/lib/pleroma/user.ex b/lib/pleroma/user.ex @@ -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,