We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5624f1e commit bfa283dCopy full SHA for bfa283d
packages/consts/src/consts.ts
@@ -120,21 +120,16 @@ export const USERNAME = {
120
};
121
122
export const EMAIL = {
123
- MIN_LENGTH: 3,
124
MAX_LENGTH: 254, // see https://www.rfc-editor.org/errata_search.php?rfc=3696&eid=1690
125
-
126
REGEX: EMAIL_REGEX,
127
128
129
/**
130
* Profile name (such as organization or first / last name) constraints.
131
*/
132
export const PROFILE_NAME = {
133
134
MAX_LENGTH: 50,
135
136
- // Prohibits usage of @, <, > and :// in the name
137
- REGEX: /^(?!.*:\/\/)[^@><]*$/,
+ REGEX: /^(?!.*:\/\/)[^@><]*$/, // Prohibits usage of @, <, > and ://
138
139
140
0 commit comments