Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Now fix the server side check lol
  • Loading branch information
regalijan committed Feb 28, 2024
1 parent f9d080a commit 02f15ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/api/events-team/team-members/user.ts
Expand Up @@ -58,7 +58,7 @@ export async function onRequestPost(context: RequestContext) {
if (
roblox_username.length < 3 ||
roblox_username.length > 20 ||
roblox_username.match(/\D/) ||
roblox_username.match(/\W/) ||
roblox_username.match(/_/g)?.length > 1
)
return jsonError("Username is invalid", 400);
Expand Down

0 comments on commit 02f15ea

Please sign in to comment.