Skip to content

Commit

Permalink
Merge pull request #567 from rahulramakrishnan3/release-3.1.0
Browse files Browse the repository at this point in the history
variable name changes
  • Loading branch information
Cafnanc authored Aug 22, 2024
2 parents b4c274a + f12f5fb commit 4d4c939
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/app/modules/auth/register/register.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export class RegisterPage implements OnInit {
validators: {
required: true,
minLength:environment?.password?.minLength ? environment?.password?.minLength: 8,
pattern: environment?.password?.rejectPattern ? environment?.password?.rejectPattern :"^[a-zA-Z0-9!@#%$&()\\-`.+,/\"]*$",
pattern: environment?.password?.regexPattern ? environment?.password?.regexPattern :"^[a-zA-Z0-9!@#%$&()\\-`.+,/\"]*$",
},
},
{
Expand All @@ -85,7 +85,7 @@ export class RegisterPage implements OnInit {
validators: {
required: true,
minLength: environment?.password?.minLength ? environment?.password.minLength:8,
pattern: environment?.password?.rejectPattern ? environment?.password.rejectPattern :"^[a-zA-Z0-9!@#%$&()\\-`.+,/\"]*$",
pattern: environment?.password?.regexPattern ? environment?.password.regexPattern :"^[a-zA-Z0-9!@#%$&()\\-`.+,/\"]*$",
}
}
]
Expand Down
4 changes: 2 additions & 2 deletions src/app/modules/auth/reset-password/reset-password.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export class ResetPasswordPage implements OnInit {
validators: {
required: true,
minLength:environment?.password?.minLength? environment?.password?.minLength: 8,
pattern: environment?.password?.rejectPattern ? environment?.password?.rejectPattern :"^[a-zA-Z0-9!@#%$&()\\-`.+,/\"]*$",
pattern: environment?.password?.regexPattern ? environment?.password?.regexPattern :"^[a-zA-Z0-9!@#%$&()\\-`.+,/\"]*$",
},
},
{
Expand All @@ -66,7 +66,7 @@ export class ResetPasswordPage implements OnInit {
validators: {
required: true,
minLength:environment?.password?.minLength? environment?.password?.minLength: 8,
pattern: environment?.password?.rejectPattern ? environment?.password?.rejectPattern :"^[a-zA-Z0-9!@#%$&()\\-`.+,/\"]*$",
pattern: environment?.password?.regexPattern ? environment?.password?.regexPattern :"^[a-zA-Z0-9!@#%$&()\\-`.+,/\"]*$",
},
},
],
Expand Down
4 changes: 2 additions & 2 deletions src/app/pages/change-password/change-password.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public headerConfig: any = {
validators: {
required: true,
minLength:environment?.password?.minLength? environment?.password?.minLength: 8,
pattern: environment?.password?.rejectPattern ? environment?.password?.rejectPattern :"^[a-zA-Z0-9!@#%$&()\\-`.+,/\"]*$",
pattern: environment?.password?.regexPattern ? environment?.password?.regexPattern :"^[a-zA-Z0-9!@#%$&()\\-`.+,/\"]*$",
},
},
{
Expand All @@ -69,7 +69,7 @@ public headerConfig: any = {
validators: {
required: true,
minLength:environment?.password?.minLength? environment?.password?.minLength: 8,
pattern: environment?.password?.rejectPattern ? environment?.password?.rejectPattern :"^[a-zA-Z0-9!@#%$&()\\-`.+,/\"]*$",
pattern: environment?.password?.regexPattern ? environment?.password?.regexPattern :"^[a-zA-Z0-9!@#%$&()\\-`.+,/\"]*$",
},
},
],
Expand Down

0 comments on commit 4d4c939

Please sign in to comment.