about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-09-02 02:05:32 +0200
committerGitHub <noreply@github.com>2018-09-02 02:05:32 +0200
commit075e162319754b9ab3bebfaae3f4e8b975f29d98 (patch)
tree282aec3309d109d35db7bd5adcf1b0bd946d92fa /app
parentc593d6df9cecabed5becf4e16c3d3b2e3de99d76 (diff)
Whitelist report notification param in Settings::NotificationsController (#8560)
Bug in #8559
Diffstat (limited to 'app')
-rw-r--r--app/controllers/settings/notifications_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/settings/notifications_controller.rb b/app/controllers/settings/notifications_controller.rb
index ce2530c54..fe45c17b2 100644
--- a/app/controllers/settings/notifications_controller.rb
+++ b/app/controllers/settings/notifications_controller.rb
@@ -25,7 +25,7 @@ class Settings::NotificationsController < ApplicationController
 
   def user_settings_params
     params.require(:user).permit(
-      notification_emails: %i(follow follow_request reblog favourite mention digest),
+      notification_emails: %i(follow follow_request reblog favourite mention digest report),
       interactions: %i(must_be_follower must_be_following must_be_following_dm)
     )
   end