Merge pull request #1750 from RafaelTaranto/rebase/cex-io-missing-creds

LAM-832 fix: CEX.IO missing credential UID
This commit is contained in:
Rafael Taranto 2024-11-28 08:43:22 +00:00 committed by GitHub
commit dc2d0d7cc4

View file

@ -17,6 +17,13 @@ export default {
face: true,
long: true
},
{
code: 'uid',
display: 'User ID',
component: TextInputFormik,
face: true,
long: true
},
{
code: 'privateKey',
display: 'Private key',
@ -28,6 +35,9 @@ export default {
apiKey: Yup.string('The API key must be a string')
.max(100, 'The API key is too long')
.required('The API key is required'),
uid: Yup.string('The User ID must be a string')
.max(100, 'The User ID is too long')
.required('The User ID is required'),
privateKey: Yup.string('The private key must be a string')
.max(100, 'The private key is too long')
.test(secretTest(account?.privateKey, 'private key'))