From bb26cdda242afff59f7718b3211732fc068980f1 Mon Sep 17 00:00:00 2001 From: Konrad Pozniak Date: Sun, 18 Feb 2018 22:57:53 +0100 Subject: add parameter locked to /api/v1/update_credentials (#6506) --- app/controllers/api/v1/accounts/credentials_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers') diff --git a/app/controllers/api/v1/accounts/credentials_controller.rb b/app/controllers/api/v1/accounts/credentials_controller.rb index da534d960..68af22529 100644 --- 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 -- cgit