bearer token should be the whole thing, not the http basic pass

This commit is contained in:
Michiel de Jong 2012-05-09 15:24:04 +02:00
parent 9d443e021d
commit 4de182c7af
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ class OC_remoteStorage {
$result=$query->execute(array($user, $appUrl, $categories));
$ret = array();
if($row=$result->fetchRow()) {
return $row['token'];
return base64_encode('remoteStorage:'.$row['token']);
} else {
return false;
}