diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-07-17 22:08:47 -0500 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-08-30 05:43:08 -0500 |
commit | 28be38e40c6d56fd7bc0b0c98a3b76609e70b903 (patch) | |
tree | bd3a22d7f87787b7cbeb7baa5065724f533cc6b9 /app/controllers/settings | |
parent | 1a4c553afdba941eeac554ee8e2f47b2db2c6b48 (diff) |
[Privacy] Add profile option for indirect federation mode, disabled by default
Diffstat (limited to 'app/controllers/settings')
-rw-r--r-- | app/controllers/settings/profiles_controller.rb | 2 |
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 |