Skip to content

Commit 98a66e2

Browse files
Merge pull request #49028 from nextcloud/backport/49009/stable30
[stable30] fix(files-external): set password as sensitive
2 parents 6c789ca + 7e0ef24 commit 98a66e2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

apps/files_external/lib/Lib/Backend/OwnCloud.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ public function __construct(IL10N $l, Password $legacyAuth) {
2525
(new DefinitionParameter('secure', $l->t('Secure https://')))
2626
->setType(DefinitionParameter::VALUE_BOOLEAN)
2727
->setDefaultValue(true),
28+
(new DefinitionParameter('password', $l->t('Password')))
29+
->setFlag(DefinitionParameter::FLAG_OPTIONAL)
30+
->setType(DefinitionParameter::VALUE_PASSWORD),
2831
])
2932
->addAuthScheme(AuthMechanism::SCHEME_PASSWORD)
3033
->setLegacyAuthMechanism($legacyAuth)

0 commit comments

Comments
 (0)