You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(otp): use autonomous transaction for attempt tracking
The OTP attempt recording was being rolled back when verification
failed because it ran in the same transaction. Now it uses a
separate autonomous transaction that commits independently,
ensuring attempt counts persist even when verification fails.
This fixes the issue where attempt_count stayed at 0 in the database
despite being incremented in the logs.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments