chore(auth): remove debug log statement for user in authentication flow

This commit is contained in:
Mauricio Siu
2025-12-07 20:06:54 -06:00
parent 28f40066a2
commit d435553839
2 changed files with 1 additions and 13 deletions
@@ -34,19 +34,9 @@ import {
import { Switch } from "@/components/ui/switch"; import { Switch } from "@/components/ui/switch";
import { api } from "@/utils/api"; import { api } from "@/utils/api";
const hostnameRegex =
/^(?=.{1,253}$)(?!-)[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?(?:\.(?!-)[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?)+$/;
const addServerDomain = z const addServerDomain = z
.object({ .object({
domain: z domain: z.string().trim().toLowerCase(),
.string()
.trim()
.toLowerCase()
.regex(
hostnameRegex,
"Invalid hostname (no http://, no slash, no port).",
),
letsEncryptEmail: z.string(), letsEncryptEmail: z.string(),
https: z.boolean().optional(), https: z.boolean().optional(),
certificateType: z.enum(["letsencrypt", "none", "custom"]), certificateType: z.enum(["letsencrypt", "none", "custom"]),
-2
View File
@@ -127,8 +127,6 @@ const { handler, api } = betterAuth({
}); });
} }
console.log(user);
if (IS_CLOUD) { if (IS_CLOUD) {
try { try {
const hutk = getHubSpotUTK( const hutk = getHubSpotUTK(