Merge pull request #55327 from nextcloud/backport/55313/stable32

[stable32] fix(sharing): ensure to check new password
This commit is contained in:
Ferdinand Thiessen 2025-09-27 16:01:54 +02:00 committed by GitHub
commit 4700a5471f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 8 additions and 8 deletions

View file

@ -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 Normal file

File diff suppressed because one or more lines are too long

1
dist/8712-8712.js.map vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/8712-8712.js.map.license vendored Symbolic link
View file

@ -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

View file

@ -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