fix(sharing): ensure to check new password

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
pull/55313/head
Ferdinand Thiessen 1 week ago
parent 2c0f22ea4c
commit 99a026218b
No known key found for this signature in database
GPG Key ID: 45FAE7268762B400
  1. 2
      apps/files_sharing/src/views/SharingDetailsTab.vue

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

Loading…
Cancel
Save