From 27ea6fa413a994c7c20992228d7c42eacd033f10 Mon Sep 17 00:00:00 2001 From: Mathis HERRIOT <197931332+0x485254@users.noreply.github.com> Date: Thu, 29 Jan 2026 16:09:13 +0100 Subject: [PATCH] feat: add `twoFactorEnabled` field to `User` type definition --- frontend/src/types/user.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/types/user.ts b/frontend/src/types/user.ts index 5099d82..1c13a9c 100644 --- a/frontend/src/types/user.ts +++ b/frontend/src/types/user.ts @@ -8,6 +8,7 @@ export interface User { bio?: string; role?: "user" | "admin" | "moderator"; status?: "active" | "verification" | "suspended" | "pending" | "deleted"; + twoFactorEnabled?: boolean; createdAt: string; }