Przeglądaj źródła

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

Bug in #8559
master
Eugen Rochko 5 lat temu
committed by GitHub
rodzic
commit
075e162319
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      app/controllers/settings/notifications_controller.rb

+ 1
- 1
app/controllers/settings/notifications_controller.rb Wyświetl plik

@@ -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


Ładowanie…
Anuluj
Zapisz