mastodon_api_controller.ex: account_register: Remove wrong user assign
This commit is contained in:
parent
5bcde93d31
commit
3aeac25959
|
@ -1492,7 +1492,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do
|
|||
end
|
||||
|
||||
def account_register(
|
||||
%{assigns: %{user: user}} = conn,
|
||||
conn,
|
||||
%{"username" => nickname, "email" => _, "password" => _, "agreement" => true} = params
|
||||
) do
|
||||
params =
|
||||
|
|
Loading…
Reference in New Issue