Compare commits

...

1 Commits

Author SHA1 Message Date
fmtabbara fa63549a9c update wording for password strength and allow 2022-06-22 10:04:52 +01:00
2 changed files with 4 additions and 4 deletions
@@ -39,7 +39,7 @@ export const ConnectPassword = () => {
return ( return (
<Stack spacing={3} alignItems="center" minWidth="50%"> <Stack spacing={3} alignItems="center" minWidth="50%">
<Title title="Create optional password" /> <Title title="Create optional password" />
<Subtitle subtitle="Password should be min 8 characters, at least one number and one symbol" /> <Subtitle subtitle="Password should be min 8 characters, at least one uppercase character, one number and one symbol" />
<FormControl fullWidth> <FormControl fullWidth>
<Stack spacing={2}> <Stack spacing={2}>
<> <>
@@ -59,7 +59,7 @@ export const ConnectPassword = () => {
<Button <Button
size="large" size="large"
variant="contained" variant="contained"
disabled={password !== confirmedPassword || password.length === 0 || !isStrongPassword || isLoading} disabled={password !== confirmedPassword || password.length === 0 || isLoading}
onClick={storePassword} onClick={storePassword}
> >
{isLoading ? <CircularProgress size={25} /> : 'Create password'} {isLoading ? <CircularProgress size={25} /> : 'Create password'}
@@ -38,7 +38,7 @@ export const CreatePassword = () => {
return ( return (
<Stack spacing={3} alignItems="center" minWidth="50%"> <Stack spacing={3} alignItems="center" minWidth="50%">
<Title title="Create optional password" /> <Title title="Create optional password" />
<Subtitle subtitle="Password should be min 8 characters, at least one number and one symbol" /> <Subtitle subtitle="Password should be min 8 characters, at least one uppercase character, one number and one symbol" />
<FormControl fullWidth> <FormControl fullWidth>
<Stack spacing={2}> <Stack spacing={2}>
<> <>
@@ -58,7 +58,7 @@ export const CreatePassword = () => {
<Button <Button
size="large" size="large"
variant="contained" variant="contained"
disabled={password !== confirmedPassword || password.length === 0 || !isStrongPassword || isLoading} disabled={password !== confirmedPassword || password.length === 0 || isLoading}
onClick={storePassword} onClick={storePassword}
> >
Next Next