Skip to main content

max / makenotwork

209 B · 4 lines History Blame Raw
1 -- Track the last accepted TOTP time step to prevent code replay within the
2 -- same 30-second window. NULL = never used (freshly set up).
3 ALTER TABLE users ADD COLUMN IF NOT EXISTS totp_last_used_step BIGINT;
4