summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/apioauthstore.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/apioauthstore.php b/lib/apioauthstore.php
index 4d141286b..7a4fe8db5 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);
}