Merge pull request #1750 from RafaelTaranto/rebase/cex-io-missing-creds
LAM-832 fix: CEX.IO missing credential UID
This commit is contained in:
commit
dc2d0d7cc4
1 changed files with 10 additions and 0 deletions
|
|
@ -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'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue