From 25c90495631a8796b2ecef60ae417c021b490a32 Mon Sep 17 00:00:00 2001 From: Regalijan Date: Sun, 15 Feb 2026 00:36:24 -0500 Subject: [PATCH] Allow new Roblox reset username format --- functions/api/reports/submit.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);