mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-10 15:46:04 +08:00
expanded validation to allow uuids
This commit is contained in:
parent
db337a5cd5
commit
060de11f04
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ function isTagPresetNameValid(name) {
|
|||
|
||||
function isConfigKeyValid(name) {
|
||||
if (name === null || name === undefined || name === "") return false;
|
||||
if (name.length > 30) return false;
|
||||
if (name.length > 40) return false;
|
||||
return /^[0-9a-zA-Z_.\-#+]+$/.test(name);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue