Skip to content

Commit

Permalink
Remove accidental commit of mailgun credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
jkyuusai committed Aug 29, 2014
1 parent 89b668c commit a89aa75
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions server/server.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
Meteor.startup(function () {
process.env.MAIL_URL = 'smtp://postmaster%40***REMOVED***:***REMOVED***@smtp.mailgun.org:587';
});

//TODO: Change this to a collection
var carrierList = {
'AT&T': 'mms.att.net',
Expand All @@ -19,11 +15,11 @@ Meteor.methods({

Email.send({
bcc: recipients,
from:'grouptext@***REMOVED***',
from:'grouptext@sparklecow.io',
text: body
});
},
removeContact: function(subscription) {
Contacts.remove(subscription._id);
}
});
});

0 comments on commit a89aa75

Please sign in to comment.