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:56:51 +0000 |
commit | 297ee2369f2e873142ee07a6b88462c272e3cefc (patch) | |
tree | c07db1a0250cb977714e1c171b9fe51114dcbcb1 | |
parent | e7fa59a972a49299e67080a0f3f49427ccca772b (diff) | |
download | nextcloud-server-backport/49009/stable27.tar.gz nextcloud-server-backport/49009/stable27.zip |
fix(files-external): set password as sensitivebackport/49009/stable27
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) |