18559: Add basic field validation for profile email
[arvados-workbench2.git] / src / validators / validators.tsx
index 81fed2ccccdb4220822a342a38eb3af10a38a735..b781a3a97f199960297de1691bafd9e86f830ff6 100644 (file)
@@ -31,6 +31,7 @@ export const PROCESS_DESCRIPTION_VALIDATION = [maxLength(255)];
 export const REPOSITORY_NAME_VALIDATION = [require, maxLength(255)];
 
 export const USER_EMAIL_VALIDATION = [require, maxLength(255)];
+export const PROFILE_EMAIL_VALIDATION = [maxLength(255)];
 export const USER_LENGTH_VALIDATION = [maxLength(255)];
 
 export const SSH_KEY_PUBLIC_VALIDATION = [require, isRsaKey, maxLength(1024)];