]> git.mxchange.org Git - friendica-addons.git/blobdiff - pumpio/oauth/oauth_client.php
Removing blanks with tabs
[friendica-addons.git] / pumpio / oauth / oauth_client.php
index 5047e0e9b41f10d3e09aefcc54dbc55d434feb34..2a709aab4e8025af9d0c4278708a521e465e4769 100644 (file)
@@ -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
+?>