Whitelist report notification param in Settings::NotificationsController (#8560)
Bug in #8559
This commit is contained in:
		
							parent
							
								
									601a0dc6cc
								
							
						
					
					
						commit
						00d1699a96
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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…
	
		Reference in a new issue