Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[staff] Surface auth code count

Neeraj Gupta5a3272f85519
diff --git a/infra/staff/src/App.tsx b/infra/staff/src/App.tsx
index f37ffa7ea8..b0d6a75a09 100644
--- a/infra/staff/src/App.tsx
+++ b/infra/staff/src/App.tsx
@@ -51,6 +51,7 @@ interface Security {
interface UserResponse {
user: User;
subscription: Subscription;
+ authCodes?: number;
details?: {
usage?: number;
storageBonus?: number;
@@ -182,7 +183,8 @@ const App: React.FC = () => {
.isTwoFactorEnabled
? "Enabled"
: "Disabled",
- Passkeys: (userDataResponse.details?.profileData.passkeyCount ?? 0) > 0 ? "Enabled" : "Disabled",
+ "Passkeys": (userDataResponse.details?.profileData.passkeyCount ?? 0) > 0 ? "Enabled" : "Disabled",
+ "AuthCodes" : `${userDataResponse.authCodes ?? 0}`,
},
};