summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-08-02 03:58:41 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-08-02 03:58:41 +0000
commitf13037cc5466cf09bf1535acfea8809137927591 (patch)
tree16e7fb41fe60dd4a6c3e1e18bac4bf3bd59c4a08 /modules
parentbc8ddbecb86139a3a6bb7e3441e37b63065febaf (diff)
downloadampache-f13037cc5466cf09bf1535acfea8809137927591.tar.gz
ampache-f13037cc5466cf09bf1535acfea8809137927591.tar.bz2
ampache-f13037cc5466cf09bf1535acfea8809137927591.zip
tweaked auth method before I forget to use MD5 hash of password for openstrands
Diffstat (limited to 'modules')
-rw-r--r--modules/infotools/openstrands.class.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/infotools/openstrands.class.php b/modules/infotools/openstrands.class.php
index 71d57d60..4c52f75d 100644
--- a/modules/infotools/openstrands.class.php
+++ b/modules/infotools/openstrands.class.php
@@ -23,7 +23,7 @@
class openStrands {
public static $base_url = 'https://www.mystrands.com/services';
- public static $auth_token = '';
+ private static $auth_token = '';
private static $authenticated=false;
// Some settings to prevent stupid users, or abusive queries
@@ -68,7 +68,7 @@ class openStrands {
$username = urlencode($username);
$password = urlencode($password);
- $xml_doc = self::run_query("/user/validate?username=$username&password=$password");
+ $xml_doc = self::run_query("/user/validate?username=$username&hexPass=$password");
// Set the right parent
$this->_containerTag = 'User';
@@ -233,6 +233,6 @@ class openStrands {
} // end_element
-} // end AmazonSearch
+} // end openstrands
?>