about summary refs log tree commit diff
path: root/app/controllers/api/v1
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-07-17 22:08:47 -0500
committerFire Demon <firedemon@creature.cafe>2020-08-30 05:43:08 -0500
commit28be38e40c6d56fd7bc0b0c98a3b76609e70b903 (patch)
treebd3a22d7f87787b7cbeb7baa5065724f533cc6b9 /app/controllers/api/v1
parent1a4c553afdba941eeac554ee8e2f47b2db2c6b48 (diff)
[Privacy] Add profile option for indirect federation mode, disabled by default
Diffstat (limited to 'app/controllers/api/v1')
-rw-r--r--app/controllers/api/v1/accounts/credentials_controller.rb2
1 files changed, 1 insertions, 1 deletions
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