Merge pull request #55313 from nextcloud/fix/sharing-password

fix(sharing): ensure to check new password
pull/55311/head
Ferdinand Thiessen 2025-09-26 16:58:06 +07:00 committed by GitHub
commit 1f4117aea3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
10 changed files with 8 additions and 8 deletions

@ -1001,7 +1001,7 @@ export default {
this.share.note = ''
}
if (this.isPasswordProtected) {
if (this.isPasswordEnforced && this.isNewShare && !this.isValidShareAttribute(this.share.password)) {
if (this.isPasswordEnforced && this.isNewShare && !this.isValidShareAttribute(this.share.newPassword)) {
this.passwordError = true
}
} else {

2
dist/8712-8712.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -0,0 +1 @@
8712-8712.js.license

2
dist/9200-9200.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1 +0,0 @@
9200-9200.js.license

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long