mirror of
https://github.com/kmc7468/arkvault.git
synced 2026-02-04 08:06:56 +00:00
챌린지 Reply Attack 방어 구현
This commit is contained in:
@@ -42,4 +42,5 @@ export const userClientChallenge = sqliteTable("user_client_challenge", {
|
||||
answer: text("challenge").notNull().unique(), // Base64
|
||||
allowedIp: text("allowed_ip").notNull(),
|
||||
expiresAt: integer("expires_at", { mode: "timestamp_ms" }).notNull(),
|
||||
isUsed: integer("is_used", { mode: "boolean" }).notNull().default(false),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user