Skip to content

Commit a950114

Browse files
Merge pull request #60952 from nextcloud/backport/60825/stable34
[stable34] fix(files_sharing): clear the password after saving
2 parents a1bc637 + 7fc52c4 commit a950114

8 files changed

Lines changed: 12 additions & 7 deletions

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
Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/1991-1991.js.map.license

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1991-1991.js.license

dist/3577-3577.js.map.license

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/files_sharing-files_sharing_tab.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/files_sharing-files_sharing_tab.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)