Skip to content

Commit

Permalink
fix(neuron-ui): remove length limitation of password, but should the …
Browse files Browse the repository at this point in the history
…alert instead
  • Loading branch information
Keith-CY committed Nov 1, 2019
1 parent aaec8c2 commit f25c8fd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/neuron-ui/src/components/WalletWizard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import withWizard, { WizardElementProps, WithWizardState } from 'components/with
import { generateMnemonic, validateMnemonic, showErrorMessage } from 'services/remote'
import { createWalletWithMnemonic, importWalletWithMnemonic } from 'states/stateProvider/actionCreators'

import { Routes, MnemonicAction, ErrorCode, MAX_WALLET_NAME_LENGTH, MAX_PASSWORD_LENGTH } from 'utils/const'
import { Routes, MnemonicAction, ErrorCode, MAX_WALLET_NAME_LENGTH } from 'utils/const'
import { buttonGrommetIconStyles } from 'utils/icons'
import { verifyPasswordComplexity } from 'utils/validators'
import generateWalletName from 'utils/generateWalletName'
Expand Down Expand Up @@ -51,14 +51,12 @@ const submissionInputs = [
type: 'password',
hint: 'wizard.set-a-strong-password-to-protect-your-wallet',
autoFocus: true,
maxLength: MAX_PASSWORD_LENGTH,
},
{
label: 'confirm-password',
key: 'confirmPassword',
type: 'password',
autoFocus: false,
maxLength: MAX_PASSWORD_LENGTH,
},
]

Expand Down

0 comments on commit f25c8fd

Please sign in to comment.