projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
delete firstName and lastName from form when creating a user
[arvados.git]
/
src
/
validators
/
validators.tsx
diff --git
a/src/validators/validators.tsx
b/src/validators/validators.tsx
index 1980ed802eb15ef57a64d04667e1ae7ede3fe2fe..464f190072b06544be1c4b00702f2f12b89a0a77 100644
(file)
--- a/
src/validators/validators.tsx
+++ b/
src/validators/validators.tsx
@@
-22,5
+22,10
@@
export const MOVE_TO_VALIDATION = [require];
export const PROCESS_NAME_VALIDATION = [require, maxLength(255)];
export const PROCESS_NAME_VALIDATION = [require, maxLength(255)];
+export const REPOSITORY_NAME_VALIDATION = [require, maxLength(255)];
+
+export const USER_EMAIL_VALIDATION = [require, maxLength(255)];
+export const USER_LENGTH_VALIDATION = [maxLength(255)];
+
export const SSH_KEY_PUBLIC_VALIDATION = [require, isRsaKey, maxLength(1024)];
export const SSH_KEY_PUBLIC_VALIDATION = [require, isRsaKey, maxLength(1024)];
-export const SSH_KEY_NAME_VALIDATION = [require, maxLength(255)];
\ No newline at end of file
+export const SSH_KEY_NAME_VALIDATION = [require, maxLength(255)];