Use 7 digits for oob OAuth pin instead of 6

This commit is contained in:
Zach Copley 2010-10-07 11:01:17 -07:00
parent 69e621a3e8
commit 8658e4f8c4
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}