Skip to content

Commit 8d7d60f

Browse files
authored
Merge pull request #54668 from nextcloud/backport/54538/stable31
[stable31] Do not always check password checkbox when sharing without password
2 parents 7ffa256 + c88822b commit 8d7d60f

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

apps/files_sharing/src/mixins/SharesMixin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ export default {
165165
isPasswordProtected: {
166166
get() {
167167
return this.config.enforcePasswordForPublicLink
168-
|| this.share.password !== ''
168+
|| this.share.password !== undefined
169169
|| this.share.newPassword !== undefined
170170
},
171171
async set(enabled) {

dist/3265-3265.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/3265-3265.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/files_sharing-files_sharing_tab.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/files_sharing-files_sharing_tab.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)