fix(files_sharing): do not prevent share creation if password is enabled but not supported by the current share type

Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
This commit is contained in:
skjnldsv
2026-03-27 16:50:03 +01:00
committed by nextcloud-command
parent 03c318d730
commit 661739c9d7
@@ -1093,7 +1093,6 @@ export default {
if (this.isPasswordProtected) {
if (this.isNewShare && !this.isValidShareAttribute(this.share.newPassword)) {
this.passwordError = true
return
}
} else {
this.share.password = ''