diff --git a/components/features/users-table.tsx b/components/features/users-table.tsx
index a0fbd99d..3264621b 100644
--- a/components/features/users-table.tsx
+++ b/components/features/users-table.tsx
@@ -178,6 +178,20 @@ export function UsersTable({ users, currentUserId }: UsersTableProps) {
sortAccessor: (u) => u.createdAt,
cell: (u) => ,
},
+ {
+ key: 'lastSignIn',
+ header: 'Last sign-in',
+ sortAccessor: (u) => u.lastLoginAt,
+ cell: (u) =>
+ u.lastLoginAt ? (
+
+ ) : (
+
+ —
+ No sign-in recorded
+
+ ),
+ },
{
key: 'applications',
header: 'Applications',
@@ -457,6 +471,19 @@ export function UsersTable({ users, currentUserId }: UsersTableProps) {
Joined{' '}
+
+ {user.lastLoginAt ? (
+ <>
+ Last sign-in{' '}
+
+ >
+ ) : (
+ 'No sign-in recorded'
+ )}
+
{appCount > 0 ? (