Skip to content

Commit 32acc02

Browse files
leftybournesbackportbot[bot]
authored andcommitted
fix(files_sharing): clear the password after saving
fix(files_sharing): clear the password after saving Signed-off-by: Kent Delante <kent@delante.me> [skip ci]
1 parent ac7f429 commit 32acc02

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

apps/files_sharing/src/views/SharingDetailsTab.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1173,6 +1173,11 @@ export default {
11731173
}))
11741174
}
11751175
1176+
// clear the password after saving
1177+
if (this.share.newPassword) {
1178+
this.$set(this.share, 'newPassword', undefined)
1179+
}
1180+
11761181
this.$emit('close-sharing-details')
11771182
},
11781183

0 commit comments

Comments
 (0)