From 8bf5111d7cb987f953ab50e6efa0629f2bfb369f Mon Sep 17 00:00:00 2001 From: smanylov Date: Thu, 5 Feb 2026 12:17:52 +0700 Subject: [PATCH] add registration logs --- src/app/actions/auth.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/app/actions/auth.ts b/src/app/actions/auth.ts index eb1e03f..0dd8e81 100644 --- a/src/app/actions/auth.ts +++ b/src/app/actions/auth.ts @@ -230,6 +230,14 @@ export async function registration( if (parsed.message_desc === 'Operation successful') { console.log(`registration - ${accountType}`); + console.log({ + fullName: fullName, + email, + phone: phone, + password, + accountType, + ...(accountType === 'b2b' && { companyName: companyName }) + }); await createSession(parsed.message_body.token, email as string); } else { throw parsed;