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

View file

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