Actually store the timestamp on each nonce
This commit is contained in:
parent
82f1119073
commit
10dfcde0b2
|
@ -65,7 +65,7 @@ class StatusNetOAuthDataStore extends OAuthDataStore
|
|||
{
|
||||
$n = new Nonce();
|
||||
$n->consumer_key = $consumer->key;
|
||||
$n->ts = $timestamp;
|
||||
$n->ts = common_sql_date($timestamp);
|
||||
$n->nonce = $nonce;
|
||||
if ($n->find(true)) {
|
||||
return true;
|
||||
|
@ -362,7 +362,6 @@ class StatusNetOAuthDataStore extends OAuthDataStore
|
|||
array('is_local' => Notice::REMOTE_OMB,
|
||||
'uri' => $omb_notice->getIdentifierURI()));
|
||||
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user