From 23ea45760f536cb362f7019c4aeac8d51aea34ad Mon Sep 17 00:00:00 2001
From: Vincent Petry <pvince81@owncloud.com>
Date: Wed, 21 Jan 2015 11:26:36 +0100
Subject: [PATCH] External share dialog must properly read entered password

---
 apps/files_sharing/js/external.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/apps/files_sharing/js/external.js b/apps/files_sharing/js/external.js
index aeb4b2461f..97ff5661e2 100644
--- a/apps/files_sharing/js/external.js
+++ b/apps/files_sharing/js/external.js
@@ -44,7 +44,8 @@
 					{name: name, owner: owner, remote: remoteClean}
 				),
 				t('files_sharing','Remote share'),
-				function (result) {
+				function (result, password) {
+					share.password = password;
 					callback(result, share);
 				},
 				true,
-- 
GitLab