summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2017-04-24 14:41:41 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2017-04-24 14:41:41 +0200
commit7a81d46fcbf64ccf7bab95768d3a6ea01a1c0307 (patch)
treef94ee57e6e3af583e3cc1c546b1fb348432d345c /core/js
parentc5617f4e8a7c2a9005165fbfb1f260ca4266410d (diff)
downloadnextcloud-server-7a81d46fcbf64ccf7bab95768d3a6ea01a1c0307.tar.gz
nextcloud-server-7a81d46fcbf64ccf7bab95768d3a6ea01a1c0307.zip
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 <roeland@famdouma.nl>
Diffstat (limited to 'core/js')
-rw-r--r--core/js/shareitemmodel.js2
1 files changed, 1 insertions, 1 deletions
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.