diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2024-10-31 09:41:09 -0100 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2024-10-31 11:57:00 +0000 |
commit | 48365cbe988f449c10501693ab24de23b66c2795 (patch) | |
tree | 03c2dbba06a589883bab401b0bfe2ac199458943 | |
parent | 5c5b571a9cd12145d13ec9f3ea2e080d99bb9c9a (diff) | |
download | nextcloud-server-48365cbe988f449c10501693ab24de23b66c2795.tar.gz nextcloud-server-48365cbe988f449c10501693ab24de23b66c2795.zip |
fix(files-external): set password as sensitivebackport/49009/stable26
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
-rw-r--r-- | apps/files_external/lib/Lib/Backend/OwnCloud.php | 3 |
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) |