supersam/supabase/functions/request-otp
Hermes 2fda27a329 fix(login): request-otp must insert otp_code (NOT NULL) for send_pin email
Full edge-fn sync clobbered a live hotfix: repo request-otp only wrote
otp_code_hash, but login_otps.otp_code is NOT NULL, so every request
failed with 'Failed to generate OTP' and no PIN email was sent. Restore
writing otp_code (n8n send_pin trigger emails it; verify still uses hash).
2026-08-21 16:35:04 +02:00
..
index.ts fix(login): request-otp must insert otp_code (NOT NULL) for send_pin email 2026-08-21 16:35:04 +02:00