diff --git a/apps/remoteStorage/lib_remoteStorage.php b/apps/remoteStorage/lib_remoteStorage.php index 3e366ad29e..42cd9c90f6 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; }