瀏覽代碼

Whitelist report notification param in Settings::NotificationsController (#8560)

Bug in #8559
master
Eugen Rochko 5 年之前
committed by GitHub
父節點
當前提交
075e162319
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      app/controllers/settings/notifications_controller.rb

+ 1
- 1
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


Loading…
取消
儲存