Skip to content

Commit

Permalink
Step 4.4: Add SMS configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
DAB0mB authored and Dotan Simha committed Nov 23, 2016
1 parent f2cbd82 commit a7f3f8b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions 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 a7f3f8b

Please sign in to comment.