aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2024-10-31 10:47:09 -0100
committerMaxence Lange <maxence@artificial-owl.com>2024-10-31 10:47:09 -0100
commitae2906fa0feb6833fff68dbba77fbee6b09700ea (patch)
tree1c7447a55843fb4b195b6bb833a9bb45bd7fe033
parent738ddd289c945ac133067274d0118fc862fd169b (diff)
downloadnextcloud-server-backport/49009/49009-stable29.tar.gz
nextcloud-server-backport/49009/49009-stable29.zip
fix(files-external): set password as sensitivebackport/49009/49009-stable29
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
-rw-r--r--apps/files_external/lib/Lib/Backend/OwnCloud.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/files_external/lib/Lib/Backend/OwnCloud.php b/apps/files_external/lib/Lib/Backend/OwnCloud.php
index 97297b6a977..643322b9fa6 100644
--- a/apps/files_external/lib/Lib/Backend/OwnCloud.php
+++ b/apps/files_external/lib/Lib/Backend/OwnCloud.php
@@ -43,6 +43,9 @@ class OwnCloud extends Backend {
(new DefinitionParameter('secure', $l->t('Secure https://')))
->setType(DefinitionParameter::VALUE_BOOLEAN)
->setDefaultValue(true),
+ (new DefinitionParameter('password', $l->t('Password')))
+ ->setFlag(DefinitionParameter::FLAG_OPTIONAL)
+ ->setType(DefinitionParameter::VALUE_PASSWORD),
])
->addAuthScheme(AuthMechanism::SCHEME_PASSWORD)
->setLegacyAuthMechanism($legacyAuth)