diff --git a/pumpio/oauth/oauth_client.php b/pumpio/oauth/oauth_client.php index 5047e0e9b..2a709aab4 100644 --- a/pumpio/oauth/oauth_client.php +++ b/pumpio/oauth/oauth_client.php @@ -1013,7 +1013,8 @@ class oauth_client_class { $values = array( 'oauth_consumer_key'=>$this->client_id, - 'oauth_nonce'=>md5(uniqid(rand(), true)), + //'oauth_nonce'=>md5(uniqid(rand(), true)), + 'oauth_nonce'=>sha1(uniqid(mt_rand(), true).uniqid(mt_rand(), true)), 'oauth_signature_method'=>$this->signature_method, 'oauth_timestamp'=>time(), 'oauth_version'=>'1.0', @@ -2173,4 +2174,4 @@ class oauth_client_class */ -?> \ No newline at end of file +?>