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

View File

@@ -34,19 +34,9 @@ import {
import { Switch } from "@/components/ui/switch";
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
.object({
domain: z
.string()
.trim()
.toLowerCase()
.regex(
hostnameRegex,
"Invalid hostname (no http://, no slash, no port).",
),
domain: z.string().trim().toLowerCase(),
letsEncryptEmail: z.string(),
https: z.boolean().optional(),
certificateType: z.enum(["letsencrypt", "none", "custom"]),

View File

@@ -127,8 +127,6 @@ const { handler, api } = betterAuth({
});
}
console.log(user);
if (IS_CLOUD) {
try {
const hutk = getHubSpotUTK(