Skip to content

Commit 23833be

Browse files
susnuxbackportbot[bot]
authored andcommitted
fix(sharing): ensure to check new password
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> [skip ci]
1 parent 731181e commit 23833be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)