Skip to content

The Open Source DocuSign Alternative.

update username min characters

McPizza665ccd762822
diff --git a/packages/trpc/server/auth-router/router.ts b/packages/trpc/server/auth-router/router.ts
index d2e688d9b..f42a9b6d3 100644
--- a/packages/trpc/server/auth-router/router.ts
+++ b/packages/trpc/server/auth-router/router.ts
@@ -25,7 +25,7 @@ export const authRouter = router({
const { name, email, password, signature, url } = input;
- if ((IS_BILLING_ENABLED()) && url && url.length <= 6) {
+ if ((IS_BILLING_ENABLED()) && url && url.length < 6) {
throw new AppError(
AppErrorCode.PREMIUM_PROFILE_URL,
'Only subscribers can have a username shorter than 6 characters',