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

View File

@ -205,7 +205,7 @@ class ApiStatusNetOAuthDataStore extends StatusNetOAuthDataStore
if ($callback === 'oob') { if ($callback === 'oob') {
// six digit pin // six digit pin
$t->verifier = mt_rand(0, 999999); $t->verifier = mt_rand(0, 9999999);
} else { } else {
$t->verifier = common_good_rand(8); $t->verifier = common_good_rand(8);
} }