Skip to content

Commit

Permalink
Merge pull request #96 from JincorTech/develop
Browse files Browse the repository at this point in the history
1.3.4
  • Loading branch information
01dr authored Dec 7, 2017
2 parents 000b165 + 8895383 commit 9ca5421
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class RestorePasswordNewPasswordForm extends Component {
</FormSection>

<div className={s.description}>
Password must contain uppercase characters and only latin symbols and numbers.
Password must contain minimum 8 characters.
</div>

<div className={s.button}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/auth/SignUpForm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class SignUpForm extends Component {
{renderReferralField(referralCode)}

<div className={s.description}>
Password must contain uppercase characters and only latin symbols and numbers.
Password must contain minimum 8 characters.
</div>

<div className={s.checkbox}>
Expand Down
2 changes: 1 addition & 1 deletion src/containers/account/ChangePasswordPopup/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const ChangePasswordPopup = (props) => {
</div>

<div className={s.description}>
Password must contain uppercase characters and only latin symbols and numbers.
Password must contain minimum 8 characters.
</div>

<div className={s.button}>
Expand Down
2 changes: 1 addition & 1 deletion src/utils/validators/index.js
Original file line number Diff line number Diff line change
@@ -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) =>
Expand Down

0 comments on commit 9ca5421

Please sign in to comment.