Skip to content

Fix hard-coded admin notification email address#951

Merged
knownasilya merged 1 commit intoStrider-CD:masterfrom
oliversalzburg:fix/admin-email
Jul 8, 2016
Merged

Fix hard-coded admin notification email address#951
knownasilya merged 1 commit intoStrider-CD:masterfrom
oliversalzburg:fix/admin-email

Conversation

@oliversalzburg
Copy link
Contributor

Fixes #950

@oliversalzburg
Copy link
Contributor Author

Should probably be merged and published ASAP, but could be considered a breaking change :P

}

function getAdmins(done) {
User.find({ account_level: 1 }, function (err, admins) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would this also send an email to the newly created user (if it's an admin)? Seems like that user should be ignored.

@oliversalzburg
Copy link
Contributor Author

Should be better now

@knownasilya knownasilya merged commit ae656ba into Strider-CD:master Jul 8, 2016
@knownasilya
Copy link
Member

I think it's time to cut a release 👍

@oliversalzburg oliversalzburg deleted the fix/admin-email branch July 8, 2016 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants