about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-04-25 02:49:06 +0200
committerGitHub <noreply@github.com>2019-04-25 02:49:06 +0200
commitf27d7093513c0265010d019adc01b3f7ea02ef47 (patch)
tree7a24aa96074779b66b8f66dda38d15293cb13618
parent852ccea676bbb8a91a0d1bc66570e68e6de2c9e1 (diff)
Fix not being able to save e-mail preference for new pending accounts (#10622)
-rw-r--r--app/controllers/settings/notifications_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/settings/notifications_controller.rb b/app/controllers/settings/notifications_controller.rb
index da8a03d96..b2ce83e42 100644
--- a/app/controllers/settings/notifications_controller.rb
+++ b/app/controllers/settings/notifications_controller.rb
@@ -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