Fix user updating from AP.
This commit is contained in:
parent
cafa15131a
commit
40d9d2098c
4 changed files with 15 additions and 6 deletions
|
|
@ -90,4 +90,10 @@ defmodule Pleroma.User.Info do
|
|||
info
|
||||
|> cast(params, [:source_data])
|
||||
end
|
||||
|
||||
# Receives data from user_data_from_user_object
|
||||
def user_upgrade(info, params) do
|
||||
info
|
||||
|> cast(params, [:ap_enabled, :source_data, :banner, :locked])
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue