Skip to content

Commit

Permalink
Step 5.5: Add sms configuration to api
Browse files Browse the repository at this point in the history
  • Loading branch information
DAB0mB authored and Dotan Simha committed Nov 22, 2016
1 parent 1621203 commit 34429a6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions api/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;
}

0 comments on commit 34429a6

Please sign in to comment.