Use 7 digits for oob OAuth pin instead of 6
This commit is contained in:
parent
69e621a3e8
commit
8658e4f8c4
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user