Skip to content

Commit

Permalink
Don't show email adresses to slack users
Browse files Browse the repository at this point in the history
  • Loading branch information
plaetzchen authored and Philip Brechler committed Apr 24, 2017
1 parent 22ea24b commit 0d02d17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/invite_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 0d02d17

Please sign in to comment.