aboutsummaryrefslogtreecommitdiffstats
path: root/apps/remoteStorage
diff options
context:
space:
mode:
authorMichiel de Jong <michiel@unhosted.org>2012-05-09 15:24:04 +0200
committerMichiel de Jong <michiel@unhosted.org>2012-05-09 15:28:30 +0200
commit4de182c7af6d9c97a6696366dd1889a87b24c403 (patch)
tree53956f2b1c9c82ca957b088686043c6a26fc014a /apps/remoteStorage
parent9d443e021db8b9151342ee57b272cb7c7825a2db (diff)
downloadnextcloud-server-4de182c7af6d9c97a6696366dd1889a87b24c403.tar.gz
nextcloud-server-4de182c7af6d9c97a6696366dd1889a87b24c403.zip
bearer token should be the whole thing, not the http basic pass
Diffstat (limited to 'apps/remoteStorage')
-rwxr-xr-xapps/remoteStorage/lib_remoteStorage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/remoteStorage/lib_remoteStorage.php b/apps/remoteStorage/lib_remoteStorage.php
index 3e366ad29ea..42cd9c90f64 100755
--- a/apps/remoteStorage/lib_remoteStorage.php
+++ b/apps/remoteStorage/lib_remoteStorage.php
@@ -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;
}