mirror of
https://github.com/documenso/documenso.git
synced 2025-11-10 04:22:32 +10:00
remove fixed true condition
from auth signup router
This commit is contained in:
@ -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',
|
||||
|
||||
Reference in New Issue
Block a user