Fix roblox username input
This commit is contained in:
parent
6f2d91f504
commit
f9d080a03d
@ -300,10 +300,8 @@ export default function () {
|
||||
if (
|
||||
data.match(/\W/) ||
|
||||
data.length > 20 ||
|
||||
data.length < 4 ||
|
||||
(data.match(/_/g)?.length || 0) > 1 ||
|
||||
data.startsWith("_") ||
|
||||
data.endsWith("_")
|
||||
data.startsWith("_")
|
||||
)
|
||||
e.preventDefault();
|
||||
}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user