Problem/Motivation

I was getting this error while sending authentication code using Twilio SMS

Unable to deliver the code. Please contact support.

I debugged the problem and found this Twilio error https://www.twilio.com/docs/errors/21603

From tfa_sms.inc we have

    $this->twilioNumber = variable_get('tfa_basic_twilio_account_number', '');

There is no UI setting to set its value. Authentication worked after I drush vset-ted the value.
This is not actually a problem, but it would be good for admin user's UX.

Proposed resolution

Write the code for creating the UI.

Remaining tasks

N/A

User interface changes

There will be a new textfield under Twilio account token in admin/config/people/tfa called Twilio account number, there we will set the Twilio number.

API changes

N/A

Comments

subhojit777’s picture

Status: Active » Needs review
StatusFileSize
new2.39 KB

Creates textfield for setting Twilio number

  • coltrane committed e93ed39 on 7.x-1.x authored by subhojit777
    Issue #2398919 by subhojit777: Admin interface to set "from" twilio...
coltrane’s picture

Status: Needs review » Fixed

Thanks @subhojit777! Committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.