fix: CEX.IO missing credential UID

This commit is contained in:
Sérgio Salgado 2023-03-12 20:20:24 +00:00 committed by Rafael
parent a29f3fc13c
commit 7bf7e49cf7

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'))