Fix not being able to save e-mail preference for new pending accounts (#10622)

th-downstream
Eugen Rochko 6 years ago committed by GitHub
parent 23e87a4742
commit 2ba12c8917

@ -25,7 +25,7 @@ class Settings::NotificationsController < Settings::BaseController
def user_settings_params def user_settings_params
params.require(:user).permit( params.require(:user).permit(
notification_emails: %i(follow follow_request reblog favourite mention digest report), notification_emails: %i(follow follow_request reblog favourite mention digest report pending_account),
interactions: %i(must_be_follower must_be_following must_be_following_dm) interactions: %i(must_be_follower must_be_following must_be_following_dm)
) )
end end

Loading…
Cancel
Save