fix alias regex: allow only alphanum as the first char
This commit is contained in:
+1
-1
@@ -21104,7 +21104,7 @@ const messages = (0,react_intl__WEBPACK_IMPORTED_MODULE_1__.defineMessages)({
|
||||
}]
|
||||
}
|
||||
});
|
||||
const ALIAS_REGEX = /^[a-z0-9_\-]{4,24}$/;
|
||||
const ALIAS_REGEX = /^[a-z0-9][a-z0-9_\-]{3,23}$/i;
|
||||
const ALIAS_AVAILABILITY_CHECK_DELAY = 1000;
|
||||
class TopicDescEdit extends (react__WEBPACK_IMPORTED_MODULE_0___default().Component) {
|
||||
constructor(props) {
|
||||
|
||||
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user