diff options
author | Zach Copley <zach@status.net> | 2010-10-07 11:01:17 -0700 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2010-10-07 11:01:17 -0700 |
commit | 8658e4f8c4186574ac6503428be3ed534290387d (patch) | |
tree | c8301669f21f39d149d644924acb1437e7c7b9a3 /lib/apioauthstore.php | |
parent | 69e621a3e882cd060eb4314554aada7167edd897 (diff) |
Use 7 digits for oob OAuth pin instead of 6
Diffstat (limited to 'lib/apioauthstore.php')
-rw-r--r-- | lib/apioauthstore.php | 2 |
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); } |