Skip to content

Commit

Permalink
Merge pull request #178 from nice-digital/IDAM-629-Fix-Grammar-For-Up…
Browse files Browse the repository at this point in the history
…date-Minimum-Length-For-Passwords-Validation-Message

IDAM-629 Fix Grammar For Update Minimum Length For Passwords
  • Loading branch information
mgallagher1980 authored Nov 27, 2024
2 parents f6e996d + a5fbacc commit 5ac7624
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ class Register extends Component {

const errorMessages = {
email: !email ? `Email - ${requiredMessage}` : 'Email address is in an invalid format',
password: !password ? `Password - ${requiredMessage}` : 'Please provide a password with least 14 characters in length, contain at least 3 of the following 4 types of characters: lower case letters (a-z), upper case letters (A-Z), numbers (i.e. 0-9) and special characters (e.g. !@#$%^&*)',
password: !password ? `Password - ${requiredMessage}` : 'Please provide a password with at least 14 characters in length, contains at least 3 of the following 4 types of characters: lower case letters (a-z), upper case letters (A-Z), numbers (i.e. 0-9) and special characters (e.g. !@#$%^&*)',
confirmPassword: !confirmPassword ? `Confirm password - ${requiredMessage}` : 'Password doesn\'t match',
name: !name ? `First name - ${requiredMessage}` : 'First name should contain letters and should not exceed 100 characters',
surname: !surname ? `Last name - ${requiredMessage}` : 'Last name should contain letters and should not exceed 100 characters',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export class ResetPassword extends React.Component {
label="Password"
onChange={this.handleChange}
error={errors.password}
errorMessage="Please provide a password with least 14 characters in length, contain at least 3 of the following 4 types of characters: lower case letters (a-z), upper case letters (A-Z), numbers (i.e. 0-9) and special characters (e.g. !@#$%^&*)"
errorMessage="Please provide a password with at least 14 characters in length, contains at least 3 of the following 4 types of characters: lower case letters (a-z), upper case letters (A-Z), numbers (i.e. 0-9) and special characters (e.g. !@#$%^&*)"
onBlur={this.validate}
onFocus={this.clearError}
aria-describedby="password-error"
Expand Down

4 comments on commit 5ac7624

@NICE-TeamCity
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity Identity and Access Management / Identity - Hosted pages Build 2098 is now running

@NICE-TeamCity
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity Identity and Access Management / Identity - Hosted pages Build 2098+r5AC7624 outcome was SUCCESS
Summary: Tests passed: 65 Build time: 00:04:02

@NICE-TeamCity
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity Identity and Access Management / Identity - Hosted pages Build 2108 is now running

@NICE-TeamCity
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity Identity and Access Management / Identity - Hosted pages Build 2108+r5AC7624 outcome was SUCCESS
Summary: Tests passed: 65 Build time: 00:03:47

Please sign in to comment.