Skip to content

The Open Source DocuSign Alternative.

remove fixed true condition

McPizzae5fe3d897d97
diff --git a/packages/trpc/server/auth-router/router.ts b/packages/trpc/server/auth-router/router.ts
index 3f199ac11..d2e688d9b 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 ((true || 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',