mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-03 14:19:01 +02:00
Merge pull request #22418 from overleaf/jlm-spam-safe-length
Reduce spam safe project length GitOrigin-RevId: 2bb128a24c4ad7630bf1c511d2e23a9bf45072ab
This commit is contained in:
committed by
Copybot
parent
c898e3f323
commit
cee0276eef
@@ -19,7 +19,7 @@ const SpamSafe = {
|
||||
|
||||
isSafeProjectName(name) {
|
||||
if (HAN_REGEX.test(name)) {
|
||||
return SAFE_REGEX.test(name) && name.length <= 30
|
||||
return SAFE_REGEX.test(name) && name.length <= 10
|
||||
}
|
||||
return SAFE_REGEX.test(name) && name.length <= 100
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user