Merge pull request #55322 from nextcloud/backport/55313/stable31

[stable31] fix(sharing): ensure to check new password
This commit is contained in:
Carl Schwan 2025-09-26 23:23:37 +02:00 committed by GitHub
commit 8696841382
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 8 additions and 8 deletions

View file

@ -998,7 +998,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/4219-4219.js vendored Normal file

File diff suppressed because one or more lines are too long

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

File diff suppressed because one or more lines are too long

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

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

2
dist/4325-4325.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 @@
4325-4325.js.license

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long