diff --git a/functions/api/reports/submit.ts b/functions/api/reports/submit.ts index a6bece5..2da683e 100644 --- a/functions/api/reports/submit.ts +++ b/functions/api/reports/submit.ts @@ -78,7 +78,8 @@ export async function onRequestPost(context: RequestContext) { if ( username.length < 3 || username.length > 20 || - username.match(/_/g)?.length > 1 || + (username.match(/_/g)?.length > 1 && + !username.match(/roblox_user_\d+/)) || // New reset username format, the only exception to the underscore rule username.match(/\W/) ) return jsonError(`Username "${username}" is invalid`, 400);