diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2024-10-31 09:41:09 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2024-10-31 09:41:20 -0100 |
commit | 8360c571894bd1b26b8edf739faf99193a23b236 (patch) | |
tree | fad57e9e92d4224113315f847737f32e39444377 /apps/files_external | |
parent | 4b19e84a25384acc60f6d72c30682e16eae92ca6 (diff) | |
download | nextcloud-server-8360c571894bd1b26b8edf739faf99193a23b236.tar.gz nextcloud-server-8360c571894bd1b26b8edf739faf99193a23b236.zip |
fix(files-external): set password as sensitivefix/noid/set-ext-pwd-as-sensitive
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'apps/files_external')
-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 c0bd6891864..c3e16dd5404 100644 --- a/apps/files_external/lib/Lib/Backend/OwnCloud.php +++ b/apps/files_external/lib/Lib/Backend/OwnCloud.php @@ -25,6 +25,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) |