fix: CEX.IO missing credential UID
This commit is contained in:
parent
a29f3fc13c
commit
7bf7e49cf7
1 changed files with 10 additions and 0 deletions
|
|
@ -17,6 +17,13 @@ export default {
|
||||||
face: true,
|
face: true,
|
||||||
long: true
|
long: true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
code: 'uid',
|
||||||
|
display: 'User ID',
|
||||||
|
component: TextInputFormik,
|
||||||
|
face: true,
|
||||||
|
long: true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
code: 'privateKey',
|
code: 'privateKey',
|
||||||
display: 'Private Key',
|
display: 'Private Key',
|
||||||
|
|
@ -28,6 +35,9 @@ export default {
|
||||||
apiKey: Yup.string('The API key must be a string')
|
apiKey: Yup.string('The API key must be a string')
|
||||||
.max(100, 'The API key is too long')
|
.max(100, 'The API key is too long')
|
||||||
.required('The API key is required'),
|
.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')
|
privateKey: Yup.string('The private key must be a string')
|
||||||
.max(100, 'The private key is too long')
|
.max(100, 'The private key is too long')
|
||||||
.test(secretTest(account?.privateKey, 'private key'))
|
.test(secretTest(account?.privateKey, 'private key'))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue