about summary refs log tree commit diff
path: root/app/controllers/settings/profiles_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/settings/profiles_controller.rb')
-rw-r--r--app/controllers/settings/profiles_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/settings/profiles_controller.rb b/app/controllers/settings/profiles_controller.rb
index 19a7ce157..33d93a233 100644
--- a/app/controllers/settings/profiles_controller.rb
+++ b/app/controllers/settings/profiles_controller.rb
@@ -23,7 +23,7 @@ class Settings::ProfilesController < Settings::BaseController
   private
 
   def account_params
-    params.require(:account).permit(:display_name, :note, :avatar, :header, :locked, :bot, :discoverable, fields_attributes: [:name, :value])
+    params.require(:account).permit(:display_name, :note, :avatar, :header, :locked, :bot, :discoverable, :require_dereference, fields_attributes: [:name, :value])
   end
 
   def set_account