diff options
author | provokateurin <kate@provokateurin.de> | 2025-05-05 10:52:28 +0200 |
---|---|---|
committer | provokateurin <kate@provokateurin.de> | 2025-05-05 13:19:43 +0200 |
commit | 01d2a9f76a6588e0edce208657455c4dbbd94685 (patch) | |
tree | 0eb66fbb84a04a000f79206a915c32004f1ce634 /apps/files_external/lib/Lib/Auth/PublicKey | |
parent | e6bcc4e4e9b737d041d4d9ff1b5945a507b2ff53 (diff) | |
download | nextcloud-server-01d2a9f76a6588e0edce208657455c4dbbd94685.tar.gz nextcloud-server-01d2a9f76a6588e0edce208657455c4dbbd94685.zip |
fix(files_external): Convert VALUE_HIDDEN to FLAG_HIDDEN to allow combining VALUE_PASSWORD and FLAG_HIDDEN
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'apps/files_external/lib/Lib/Auth/PublicKey')
-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 2371ce0a219..87072299d6d 100644 --- a/apps/files_external/lib/Lib/Auth/PublicKey/RSA.php +++ b/apps/files_external/lib/Lib/Auth/PublicKey/RSA.php @@ -31,7 +31,8 @@ class RSA extends AuthMechanism { new DefinitionParameter('user', $l->t('Login')), 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') ; |