feat: rabbit rabbit changes

This commit is contained in:
=
2025-03-26 22:46:07 +05:30
parent c5a5ad93a8
commit 348a412cda
5 changed files with 5 additions and 9 deletions
@@ -10,7 +10,7 @@ export const isValidUserPattern = (value: string): boolean => {
if (value === "*") return true; // Handle wildcard separately
// Simpler, more specific pattern for usernames
const userRegex = /^[a-z_][a-z0-9_-]$/;
const userRegex = /^[a-z_][a-z0-9_-]*$/i;
return userRegex.test(value);
};