From: Zach Copley Date: Thu, 7 Oct 2010 18:01:17 +0000 (-0700) Subject: Use 7 digits for oob OAuth pin instead of 6 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8658e4f8c4186574ac6503428be3ed534290387d;p=quix0rs-gnu-social.git Use 7 digits for oob OAuth pin instead of 6 --- diff --git a/lib/apioauthstore.php b/lib/apioauthstore.php index 4d141286bf..7a4fe8db52 100644 --- a/lib/apioauthstore.php +++ b/lib/apioauthstore.php @@ -205,7 +205,7 @@ class ApiStatusNetOAuthDataStore extends StatusNetOAuthDataStore if ($callback === 'oob') { // six digit pin - $t->verifier = mt_rand(0, 999999); + $t->verifier = mt_rand(0, 9999999); } else { $t->verifier = common_good_rand(8); }