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

remotes/origin/stable4
Michiel de Jong 13 years ago
parent 9d443e021d
commit 4de182c7af
  1. 2
      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;
}

Loading…
Cancel
Save