Skip to content

Commit 6c43f48

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 97a1d6a commit 6c43f48

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
@@ -1091,6 +1091,11 @@ export default {
10911091
}))
10921092
}
10931093
1094+
// clear the password after saving
1095+
if (this.share.newPassword) {
1096+
this.$set(this.share, 'newPassword', undefined)
1097+
}
1098+
10941099
this.$emit('close-sharing-details')
10951100
},
10961101
/**

0 commit comments

Comments
 (0)