]> source.dussan.org Git - nextcloud-server.git/commitdiff
generate better storage ids
authorRobin Appelman <icewind@owncloud.com>
Thu, 12 Jun 2014 14:15:01 +0000 (16:15 +0200)
committerBjoern Schiessle <schiessle@owncloud.com>
Sat, 14 Jun 2014 08:14:08 +0000 (10:14 +0200)
apps/files_sharing/lib/external/storage.php

index 89d2f5e66697e906959fe7622917604d3f605c39..e25777d60e349212d7e06cd4542e21f9fdc93d18 100644 (file)
@@ -82,7 +82,7 @@ class Storage extends DAV implements ISharedStorage {
         * @return string
         */
        public function getId() {
-               return 'shared::' . md5($this->user . '@' . $this->remote);
+               return 'shared::' . md5($this->token . '@' . $this->remote);
        }
 
        public function getCache($path = '') {