From: Eugen Rochko Date: Sun, 2 Sep 2018 00:05:32 +0000 (+0200) Subject: Whitelist report notification param in Settings::NotificationsController (#8560) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=075e162319754b9ab3bebfaae3f4e8b975f29d98;p=mastodon.git Whitelist report notification param in Settings::NotificationsController (#8560) Bug in #8559 --- 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