diff options
author | fenn-cs <fenn25.fn@gmail.com> | 2023-12-06 22:05:57 +0100 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2024-01-15 09:36:06 +0100 |
commit | 82dde3139fdd8af98d44d6d8eaa4c368ca9eadab (patch) | |
tree | 5ce5c7ef31cd271a135903f3ae83ca671f0d2738 /apps/files_sharing/src/services/ConfigService.js | |
parent | e5d8303decaac44355c4a9ec48ed356f15539a44 (diff) | |
download | nextcloud-server-82dde3139fdd8af98d44d6d8eaa4c368ca9eadab.tar.gz nextcloud-server-82dde3139fdd8af98d44d6d8eaa4c368ca9eadab.zip |
Remove `newPassword` from share model, if disabled
It's important to delete the `newPassword` prop from the share
model, if the user unchecks the isPasswordProtected checkbox.
This clearer and allows for the unchecking to actually work as
`this.$set()` fails with the falsy value `''`.
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Diffstat (limited to 'apps/files_sharing/src/services/ConfigService.js')
0 files changed, 0 insertions, 0 deletions