]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix(files-external): set password as sensitive backport/49009/stable26 49031/head
authorMaxence Lange <maxence@artificial-owl.com>
Thu, 31 Oct 2024 10:41:09 +0000 (09:41 -0100)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Thu, 31 Oct 2024 11:57:00 +0000 (11:57 +0000)
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
apps/files_external/lib/Lib/Backend/OwnCloud.php

index 97297b6a977f7a2ee6b68ffd403ad8efef91152e..643322b9fa68d809eebb2a861a8ff093a577ca32 100644 (file)
@@ -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)