Skip to content

Commit e2a4e47

Browse files
authored
Merge pull request #62813 from nextcloud/backport/62805/stable23
[stable23] fix: handle sftp private key as password
2 parents 2033ad0 + b7f277a commit e2a4e47

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

apps/files_external/lib/Lib/Auth/PublicKey/RSAPrivateKey.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ public function __construct(IL10N $l, IConfig $config) {
5050
(new DefinitionParameter('password', $l->t('Password')))
5151
->setFlag(DefinitionParameter::FLAG_OPTIONAL)
5252
->setType(DefinitionParameter::VALUE_PASSWORD),
53-
new DefinitionParameter('private_key', $l->t('Private key')),
53+
(new DefinitionParameter('private_key', $l->t('Private key')))
54+
->setType(DefinitionParameter::VALUE_PASSWORD),
5455
]);
5556
}
5657

0 commit comments

Comments
 (0)