twilio / authy-php

A PHP client for Authy
245 stars 87 forks source link

Phone verification code length #34

Closed MisterGlass closed 6 years ago

MisterGlass commented 7 years ago

The phone verification API supports a code length modifier, but this library does not.

pararang commented 7 years ago

Hi @MisterGlass ,

still got the problem for this issue, set length to six but received four characters on SMS. Below is the code.

$authy->phoneVerificationStart('my_number', '62', 'sms', 'es', 6);