Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
WP Plugins
Authy for WP
Commits
3dbd6527
Commit
3dbd6527
authored
Dec 26, 2012
by
Erick Hitter
Browse files
Disable SMS availability check for now, as API has no formal support for such.
See #11.
parent
0e0d7194
Changes
1
Hide whitespace changes
Inline
Side-by-side
authy-wp.php
View file @
3dbd6527
...
...
@@ -400,7 +400,8 @@ class Authy_WP {
* @return null
*/
public
function
check_sms_availability
()
{
if
(
!
in_array
(
$this
->
api
->
send_sms
(
1
),
array
(
503
,
false
)
)
)
// SMS availability check disabled per https://github.com/ethitter/Authy-for-WP/issues/11
// if ( ! in_array( $this->api->send_sms( 1 ), array( 503, false ) ) )
$this
->
sms
=
true
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment