fix(files_sharing): do not check password checkbox by default

The checkbox appears checked when no password is set (share.password ===
undefined)

Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
pull/54538/head
Salvatore Martire 2025-08-20 15:44:28 +07:00
parent 4c3ad2eea8
commit eaaa9070ed
5 changed files with 7 additions and 7 deletions

@ -165,7 +165,7 @@ export default {
isPasswordProtected: {
get() {
return this.config.enforcePasswordForPublicLink
|| this.share.password !== ''
|| this.share.password !== undefined
|| this.share.newPassword !== undefined
},
async set(enabled) {

4
dist/6894-6894.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long