diff options
author | Stephan Orbaugh <62374139+sorbaugh@users.noreply.github.com> | 2025-05-06 14:47:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-06 14:47:42 +0200 |
commit | cc23b7cd9a8aec432b4dd0615ace086efaa0d2f8 (patch) | |
tree | 9f15d1b232af97790ea8e11dfe2c6ba7dfff387d /apps/files_external/lib/Lib/Auth/PublicKey/RSA.php | |
parent | ebca4bceaea174a29a75882c8ad7f7742c9c1544 (diff) | |
parent | fe7b6039bcfbd7ae519639aa66f8bbfaa896c11e (diff) | |
download | nextcloud-server-stable26.tar.gz nextcloud-server-stable26.zip |
Merge pull request #52649 from nextcloud/backport/52628/stable26stable26
[stable26] fix(files_external): Mark password fields for LoginCredentials and SessionCredentials as hidden and optional
Diffstat (limited to 'apps/files_external/lib/Lib/Auth/PublicKey/RSA.php')
-rw-r--r-- | apps/files_external/lib/Lib/Auth/PublicKey/RSA.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_external/lib/Lib/Auth/PublicKey/RSA.php b/apps/files_external/lib/Lib/Auth/PublicKey/RSA.php index d45db03b2da..12417b1bc85 100644 --- a/apps/files_external/lib/Lib/Auth/PublicKey/RSA.php +++ b/apps/files_external/lib/Lib/Auth/PublicKey/RSA.php @@ -50,7 +50,8 @@ class RSA extends AuthMechanism { new DefinitionParameter('user', $l->t('Username')), new DefinitionParameter('public_key', $l->t('Public key')), (new DefinitionParameter('private_key', 'private_key')) - ->setType(DefinitionParameter::VALUE_HIDDEN), + ->setType(DefinitionParameter::VALUE_PASSWORD) + ->setFlag(DefinitionParameter::FLAG_HIDDEN), ]) ->addCustomJs('public_key') ; |