We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7409316 commit 9707bf4Copy full SHA for 9707bf4
apps/files_sharing/src/mixins/SharesMixin.js
@@ -235,11 +235,14 @@ export default {
235
this.saving = true
236
this.errors = {}
237
try {
238
- await this.updateShare(this.share.id, properties)
239
-
+ const updatedShare = await this.updateShare(this.share.id, properties)
+
240
if (propertyNames.indexOf('password') >= 0) {
241
// reset password state after sync
242
this.$delete(this.share, 'newPassword')
243
244
+ // updates password expiration time after sync
245
+ this.share.passwordExpirationTime = updatedShare.password_expiration_time
246
}
247
248
// clear any previous errors
0 commit comments