Browse Source
fix(sharing): ensure to check new password
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
pull/55313/head
Ferdinand Thiessen
2 weeks ago
No known key found for this signature in database
GPG Key ID: 45FAE7268762B400
1 changed files with
1 additions and
1 deletions
-
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 { |
|
|
|