diff --git a/src/components/auth/RestorePasswordNewPasswordForm/index.js b/src/components/auth/RestorePasswordNewPasswordForm/index.js index 14de7c2..3d6366b 100644 --- a/src/components/auth/RestorePasswordNewPasswordForm/index.js +++ b/src/components/auth/RestorePasswordNewPasswordForm/index.js @@ -76,7 +76,7 @@ class RestorePasswordNewPasswordForm extends Component {
- Password must contain uppercase characters and only latin symbols and numbers. + Password must contain minimum 8 characters.
diff --git a/src/components/auth/SignUpForm/index.js b/src/components/auth/SignUpForm/index.js index f2f3160..279368a 100644 --- a/src/components/auth/SignUpForm/index.js +++ b/src/components/auth/SignUpForm/index.js @@ -100,7 +100,7 @@ class SignUpForm extends Component { {renderReferralField(referralCode)}
- Password must contain uppercase characters and only latin symbols and numbers. + Password must contain minimum 8 characters.
diff --git a/src/containers/account/ChangePasswordPopup/index.js b/src/containers/account/ChangePasswordPopup/index.js index ab1de36..43ae936 100644 --- a/src/containers/account/ChangePasswordPopup/index.js +++ b/src/containers/account/ChangePasswordPopup/index.js @@ -48,7 +48,7 @@ const ChangePasswordPopup = (props) => {
- Password must contain uppercase characters and only latin symbols and numbers. + Password must contain minimum 8 characters.
diff --git a/src/utils/validators/index.js b/src/utils/validators/index.js index e3fd7af..31a1c93 100644 --- a/src/utils/validators/index.js +++ b/src/utils/validators/index.js @@ -1,5 +1,5 @@ const EMAIL_REGEXP = /[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?/; -const PASSWORD_REGEXP = /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)[a-zA-Z0\d!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~]{8,}$/; +const PASSWORD_REGEXP = /^[a-zA-Z0\d!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~]{8,}$/; export const NUMBER_REGEXP = /^\d{0,}(\.\d{0,}){0,1}$/; export const requiredValidator = (msg) =>