Skip to content
Snippets Groups Projects
Commit 4de182c7 authored by Michiel de Jong's avatar Michiel de Jong
Browse files

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

parent 9d443e02
No related branches found
No related tags found
No related merge requests found
...@@ -19,7 +19,7 @@ class OC_remoteStorage { ...@@ -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;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment