diff --git a/server/sms.js b/server/sms.js new file mode 100644 index 0000000..d77a645 --- /dev/null +++ b/server/sms.js @@ -0,0 +1,7 @@ +import { Meteor } from 'meteor/meteor'; +import { Accounts } from 'meteor/accounts-base'; + +if (Meteor.settings && Meteor.settings.ACCOUNTS_PHONE) { + Accounts._options.adminPhoneNumbers = Meteor.settings.ACCOUNTS_PHONE.ADMIN_NUMBERS; + Accounts._options.phoneVerificationMasterCode = Meteor.settings.ACCOUNTS_PHONE.MASTER_CODE; +} \ No newline at end of file