From 28be38e40c6d56fd7bc0b0c98a3b76609e70b903 Mon Sep 17 00:00:00 2001 From: Fire Demon Date: Fri, 17 Jul 2020 22:08:47 -0500 Subject: [Privacy] Add profile option for indirect federation mode, disabled by default --- app/controllers/api/v1/accounts/credentials_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/api/v1/accounts/credentials_controller.rb') diff --git a/app/controllers/api/v1/accounts/credentials_controller.rb b/app/controllers/api/v1/accounts/credentials_controller.rb index 64b5cb747..dbafc3cc2 100644 --- a/app/controllers/api/v1/accounts/credentials_controller.rb +++ b/app/controllers/api/v1/accounts/credentials_controller.rb @@ -21,7 +21,7 @@ class Api::V1::Accounts::CredentialsController < Api::BaseController private def account_params - params.permit(:display_name, :note, :avatar, :header, :locked, :bot, :discoverable, fields_attributes: [:name, :value]) + params.permit(:display_name, :note, :avatar, :header, :locked, :bot, :discoverable, :require_dereference, fields_attributes: [:name, :value]) end def user_settings_params -- cgit