]> cat aescling's git repositories - mastodon.git/commitdiff
Fix not being able to save e-mail preference for new pending accounts (#10622)
authorEugen Rochko <eugen@zeonfederated.com>
Thu, 25 Apr 2019 00:49:06 +0000 (02:49 +0200)
committerGitHub <noreply@github.com>
Thu, 25 Apr 2019 00:49:06 +0000 (02:49 +0200)
app/controllers/settings/notifications_controller.rb

index da8a03d96491d815c2844ed4fb8ef74c8dda2f94..b2ce83e42198be5936b9b3dffc1263d8c1dc86f9 100644 (file)
@@ -25,7 +25,7 @@ class Settings::NotificationsController < Settings::BaseController
 
   def user_settings_params
     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)
     )
   end