diff --git a/apps/web/package.json b/apps/web/package.json index 89675318f..fd4faa0c1 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -45,6 +45,7 @@ "sharp": "0.33.1", "ts-pattern": "^5.0.5", "typescript": "5.2.2", + "ua-parser-js": "^1.0.37", "uqr": "^0.1.2", "zod": "^3.22.4" }, @@ -53,7 +54,8 @@ "@types/luxon": "^3.3.1", "@types/node": "20.1.0", "@types/react": "18.2.18", - "@types/react-dom": "18.2.7" + "@types/react-dom": "18.2.7", + "@types/ua-parser-js": "^0.7.39" }, "overrides": { "next-auth": { diff --git a/apps/web/src/app/(dashboard)/settings/security/activity/page.tsx b/apps/web/src/app/(dashboard)/settings/security/activity/page.tsx new file mode 100644 index 000000000..6e183b0c7 --- /dev/null +++ b/apps/web/src/app/(dashboard)/settings/security/activity/page.tsx @@ -0,0 +1,23 @@ +import type { Metadata } from 'next'; + +import { UserSecurityActivityDataTable } from './user-security-activity-data-table'; + +export const metadata: Metadata = { + title: 'Security activity', +}; + +export default function SettingsSecurityActivityPage() { + return ( +
+ View all recent security activity related to your account. +
+ +- Add and manage your two factor security settings to add an extra layer of security to - your account! -
- -
+
+
+
Authenticator app
- -- Create one-time passwords that serve as a secondary authentication method for confirming - your identity when requested during the sign-in process. -
-Recovery Codes
- -- Recovery codes are used to access your account in the event that you lose access to your - authenticator app. -
-No results found
+ + {hasFilters && onClearFilters !== undefined && ( +