From f12f5fb3177ff02342972860547ccc9647524e86 Mon Sep 17 00:00:00 2001 From: Rahul K R Date: Thu, 22 Aug 2024 17:25:56 +0530 Subject: [PATCH] variable name changes --- src/app/modules/auth/register/register.page.ts | 4 ++-- src/app/modules/auth/reset-password/reset-password.page.ts | 4 ++-- src/app/pages/change-password/change-password.page.ts | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/app/modules/auth/register/register.page.ts b/src/app/modules/auth/register/register.page.ts index 3a792e87..b7bc48ae 100644 --- a/src/app/modules/auth/register/register.page.ts +++ b/src/app/modules/auth/register/register.page.ts @@ -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!@#%$&()\\-`.+,/\"]*$", }, }, { @@ -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!@#%$&()\\-`.+,/\"]*$", } } ] diff --git a/src/app/modules/auth/reset-password/reset-password.page.ts b/src/app/modules/auth/reset-password/reset-password.page.ts index 6eaf40e7..452b56c6 100644 --- a/src/app/modules/auth/reset-password/reset-password.page.ts +++ b/src/app/modules/auth/reset-password/reset-password.page.ts @@ -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!@#%$&()\\-`.+,/\"]*$", }, }, { @@ -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!@#%$&()\\-`.+,/\"]*$", }, }, ], diff --git a/src/app/pages/change-password/change-password.page.ts b/src/app/pages/change-password/change-password.page.ts index 2a0e408a..fea2612e 100644 --- a/src/app/pages/change-password/change-password.page.ts +++ b/src/app/pages/change-password/change-password.page.ts @@ -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!@#%$&()\\-`.+,/\"]*$", }, }, { @@ -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!@#%$&()\\-`.+,/\"]*$", }, }, ],