From 0d02d17d1f8674a8fccc1cac8f8abc8337b1a154 Mon Sep 17 00:00:00 2001 From: Philip Brechler Date: Mon, 24 Apr 2017 15:01:52 +0200 Subject: [PATCH] Don't show email adresses to slack users --- app/controllers/invite_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/invite_controller.rb b/app/controllers/invite_controller.rb index 3fb9044e..30f18a72 100644 --- a/app/controllers/invite_controller.rb +++ b/app/controllers/invite_controller.rb @@ -194,7 +194,7 @@ def notify_slack(first_name,last_name,email) if ENV["SLACK_WEBHOOK_URL"] notifier = Slack::Notifier.new ENV["SLACK_WEBHOOK_URL"], username: "Boarding Bot" - notifier.ping text: "Added new tester to TestFlight App #{app_metadata[:title]}: #{email} - #{first_name} #{last_name}", icon_emoji: ":airplane:" + notifier.ping text: "Added new tester to TestFlight App #{app_metadata[:title]}: #{first_name} #{last_name}", icon_emoji: ":airplane:" end end