bearer token should be the whole thing, not the http basic pass
This commit is contained in:
parent
9d443e021d
commit
4de182c7af
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue