From 7a81d46fcbf64ccf7bab95768d3a6ea01a1c0307 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Mon, 24 Apr 2017 14:41:41 +0200 Subject: Fix link password toggle We took the wrong field from the share api response. So the password was never shown as set. Signed-off-by: Roeland Jago Douma --- core/js/shareitemmodel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/js/shareitemmodel.js') diff --git a/core/js/shareitemmodel.js b/core/js/shareitemmodel.js index bff006f7ef3..bc3ea88aa56 100644 --- a/core/js/shareitemmodel.js +++ b/core/js/shareitemmodel.js @@ -802,7 +802,7 @@ isLinkShare: true, id: share.id, token: share.token, - password: share.password, + password: share.share_with, link: link, permissions: share.permissions, // currently expiration is only effective for link shares. -- cgit v1.2.3