From: Michiel de Jong Date: Wed, 9 May 2012 13:24:04 +0000 (+0200) Subject: bearer token should be the whole thing, not the http basic pass X-Git-Tag: v4.0.0RC~89 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4de182c7af6d9c97a6696366dd1889a87b24c403;p=nextcloud-server.git bearer token should be the whole thing, not the http basic pass --- 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; }