logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: bb26cdda242afff59f7718b3211732fc068980f1
parent: 78936461d77e3c5c60dc2430c309c8caf670ac2e
Author: Konrad Pozniak <connyduck@users.noreply.github.com>
Date:   Sun, 18 Feb 2018 22:57:53 +0100

add parameter locked to /api/v1/update_credentials (#6506)


Diffstat:

Mapp/controllers/api/v1/accounts/credentials_controller.rb2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/controllers/api/v1/accounts/credentials_controller.rb b/app/controllers/api/v1/accounts/credentials_controller.rb @@ -20,6 +20,6 @@ class Api::V1::Accounts::CredentialsController < Api::BaseController private def account_params - params.permit(:display_name, :note, :avatar, :header) + params.permit(:display_name, :note, :avatar, :header, :locked) end end