Skip to content

Commit e364e17

Browse files
authored
fix(auth): omit verification codes from fallback logs (#10611)
1 parent c55b6b1 commit e364e17

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

‎apps/sim/lib/auth/auth.ts‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1482,11 +1482,8 @@ export const auth = betterAuth({
14821482
})
14831483

14841484
if (!result.success && result.message.includes('no email service configured')) {
1485-
logger.info('🔑 VERIFICATION CODE FOR LOGIN/SIGNUP', {
1486-
email: data.email,
1487-
otp: data.otp,
1485+
logger.warn('Verification email skipped: no email service configured', {
14881486
type: data.type,
1489-
validation: validation.checks,
14901487
})
14911488
return
14921489
}

0 commit comments

Comments
 (0)