bearer token should be the whole thing, not the http basic pass
This commit is contained in:
parent
9d443e021d
commit
4de182c7af
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue