From c00df593109f03d72d16ffa02a63ffcd3f044013 Mon Sep 17 00:00:00 2001 From: skjnldsv Date: Fri, 7 Nov 2025 08:44:18 +0100 Subject: [PATCH] fix(files_sharing): sidebar link share password checkbox Signed-off-by: skjnldsv --- apps/files_sharing/src/mixins/SharesMixin.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/files_sharing/src/mixins/SharesMixin.js b/apps/files_sharing/src/mixins/SharesMixin.js index 3f876ab3dc8..19d90ab0cf6 100644 --- a/apps/files_sharing/src/mixins/SharesMixin.js +++ b/apps/files_sharing/src/mixins/SharesMixin.js @@ -173,9 +173,8 @@ export default { if (this.passwordProtectedState !== undefined) { return this.passwordProtectedState } - return this.share.newPassword !== undefined - || this.share.password !== undefined - + return typeof this.share.newPassword === 'string' + || typeof this.share.password === 'string' }, async set(enabled) { if (enabled) {