summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-07-01 17:34:01 +0200
committerVincent Petry <pvince81@owncloud.com>2014-07-01 17:34:01 +0200
commitfd68034357170763573db49a7e8b52893e554f30 (patch)
treedea865d98842057889ef0a8676660dbc0adf0d43 /apps/files_sharing
parent816110442032e34b025f7386e4d680140919a834 (diff)
downloadnextcloud-server-fd68034357170763573db49a7e8b52893e554f30.tar.gz
nextcloud-server-fd68034357170763573db49a7e8b52893e554f30.zip
Fixed remote share password param detection
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/js/external.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/js/external.js b/apps/files_sharing/js/external.js
index 1eb447da896..969a2b184d4 100644
--- a/apps/files_sharing/js/external.js
+++ b/apps/files_sharing/js/external.js
@@ -58,7 +58,7 @@ $(document).ready(function () {
if (params.remote && params.token && params.owner && params.name) {
// clear hash, it is unlikely that it contain any extra parameters
location.hash = '';
- params.passwordProtected = parseInt(params.passwordProtected, 10) === 1;
+ params.passwordProtected = parseInt(params.protected, 10) === 1;
OCA.Sharing.showAddExternalDialog(
params.remote,
params.token,