Skip to content

Commit 2819181

Browse files
Merge pull request #49029 from nextcloud/backport/49009/49009-stable29
[stable29] fix(files-external): set password as sensitive
2 parents 738ddd2 + ae2906f commit 2819181

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
@@ -43,6 +43,9 @@ public function __construct(IL10N $l, Password $legacyAuth) {
4343
(new DefinitionParameter('secure', $l->t('Secure https://')))
4444
->setType(DefinitionParameter::VALUE_BOOLEAN)
4545
->setDefaultValue(true),
46+
(new DefinitionParameter('password', $l->t('Password')))
47+
->setFlag(DefinitionParameter::FLAG_OPTIONAL)
48+
->setType(DefinitionParameter::VALUE_PASSWORD),
4649
])
4750
->addAuthScheme(AuthMechanism::SCHEME_PASSWORD)
4851
->setLegacyAuthMechanism($legacyAuth)

0 commit comments

Comments
 (0)