Fixed remote share password param detection

This commit is contained in:
Vincent Petry 2014-07-01 17:34:01 +02:00
parent 8161104420
commit fd68034357
1 changed files with 1 additions and 1 deletions

View File

@ -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,