Merge pull request #134 from navi-sa/improve-email-regex
INFRA-2867 | relax presence of '.' in email
This commit is contained in:
@@ -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 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 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-Z0-9._+-]+@navi\.com$/;
|
||||||
export const DEFAULT_SEVERITY = {
|
export const DEFAULT_SEVERITY = {
|
||||||
label: 'Sev-3',
|
label: 'Sev-3',
|
||||||
value: '4',
|
value: '4',
|
||||||
|
|||||||
Reference in New Issue
Block a user