From 3daa576ee14a411aecb6fadbb0696c27899cbb70 Mon Sep 17 00:00:00 2001 From: dhruvjoshi Date: Wed, 13 Mar 2024 21:16:31 +0530 Subject: [PATCH] INFRA-2867 | relax presence of '.' in email --- src/Pages/TeamRevamp/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Pages/TeamRevamp/constants.ts b/src/Pages/TeamRevamp/constants.ts index bc4d284..bd439f2 100644 --- a/src/Pages/TeamRevamp/constants.ts +++ b/src/Pages/TeamRevamp/constants.ts @@ -26,7 +26,7 @@ export const MAKE_MANAGER = (teamId: string, userId: string): string => { export const regularExpression = /^[a-zA-Z][a-zA-Z0-9_ -]{1,48}[a-zA-Z0-9]$/; export const validEmail = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/; -export const emailRegularExpression = /^[a-zA-Z]+\.[a-zA-Z]+@navi\.com$/; +export const emailRegularExpression = /^[a-zA-Z.]+@navi\.com$/; export const DEFAULT_SEVERITY = { label: 'Sev-3', value: '4',