Merge remote-tracking branch 'upstream/develop' into aliases
[akkoma] / lib / pleroma / web / mastodon_api / controllers / account_controller.ex
index 2b981a86467458c167dcc9ab228c029b3f8c46eb..fb1552f215127877d6329e9767f23afee74dfcb6 100644 (file)
@@ -177,7 +177,6 @@ defmodule Pleroma.Web.MastodonAPI.AccountController do
     user_params =
       [
         :no_rich_text,
-        :locked,
         :hide_followers_count,
         :hide_follows_count,
         :hide_followers,
@@ -212,6 +211,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountController do
       end)
       |> Maps.put_if_present(:actor_type, params[:actor_type])
       |> Maps.put_if_present(:also_known_as, params[:also_known_as])
+      |> Maps.put_if_present(:is_locked, params[:locked])
 
     # What happens here:
     #