Skip to content

Commit 875b48b

Browse files
committed
fix(sharing): ensure to check new password
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
1 parent 5ee29de commit 875b48b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/files_sharing/src/views/SharingDetailsTab.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1001,7 +1001,7 @@ export default {
10011001
this.share.note = ''
10021002
}
10031003
if (this.isPasswordProtected) {
1004-
if (this.isPasswordEnforced && this.isNewShare && !this.isValidShareAttribute(this.share.password)) {
1004+
if (this.isPasswordEnforced && this.isNewShare && !this.isValidShareAttribute(this.share.newPassword)) {
10051005
this.passwordError = true
10061006
}
10071007
} else {

0 commit comments

Comments
 (0)