Skip to content

Commit 055a27f

Browse files
committed
fix(sharing): ensure to check new password
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
1 parent 5268be4 commit 055a27f

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
@@ -998,7 +998,7 @@ export default {
998998
this.share.note = ''
999999
}
10001000
if (this.isPasswordProtected) {
1001-
if (this.isPasswordEnforced && this.isNewShare && !this.isValidShareAttribute(this.share.password)) {
1001+
if (this.isPasswordEnforced && this.isNewShare && !this.isValidShareAttribute(this.share.newPassword)) {
10021002
this.passwordError = true
10031003
}
10041004
} else {

0 commit comments

Comments
 (0)