Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

Commit

Permalink
verifyToken remove deleting "force" option
Browse files Browse the repository at this point in the history
The previous code says to delete the `force` option when it's present. It will make that option useless and forcing all request to force => true if omitted by default.
  • Loading branch information
lodev09 authored May 19, 2018
1 parent d10d6ef commit f41368f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/Authy/AuthyApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,6 @@ public function verifyToken($authy_id, $token, $opts = array())
{
if (! array_key_exists("force", $opts)) {
$opts["force"] = "true";
} else {
unset($opts["force"]);
}

$token = urlencode($token);
Expand Down

0 comments on commit f41368f

Please sign in to comment.