Skip to content

Commit f25c8fd

Browse files
committed
fix(neuron-ui): remove length limitation of password, but should the alert instead
1 parent aaec8c2 commit f25c8fd

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

  • packages/neuron-ui/src/components/WalletWizard

packages/neuron-ui/src/components/WalletWizard/index.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import withWizard, { WizardElementProps, WithWizardState } from 'components/with
1717
import { generateMnemonic, validateMnemonic, showErrorMessage } from 'services/remote'
1818
import { createWalletWithMnemonic, importWalletWithMnemonic } from 'states/stateProvider/actionCreators'
1919

20-
import { Routes, MnemonicAction, ErrorCode, MAX_WALLET_NAME_LENGTH, MAX_PASSWORD_LENGTH } from 'utils/const'
20+
import { Routes, MnemonicAction, ErrorCode, MAX_WALLET_NAME_LENGTH } from 'utils/const'
2121
import { buttonGrommetIconStyles } from 'utils/icons'
2222
import { verifyPasswordComplexity } from 'utils/validators'
2323
import generateWalletName from 'utils/generateWalletName'
@@ -51,14 +51,12 @@ const submissionInputs = [
5151
type: 'password',
5252
hint: 'wizard.set-a-strong-password-to-protect-your-wallet',
5353
autoFocus: true,
54-
maxLength: MAX_PASSWORD_LENGTH,
5554
},
5655
{
5756
label: 'confirm-password',
5857
key: 'confirmPassword',
5958
type: 'password',
6059
autoFocus: false,
61-
maxLength: MAX_PASSWORD_LENGTH,
6260
},
6361
]
6462

0 commit comments

Comments
 (0)