Admin: widacznosc konta usera - lastLoginAt + IP w logach logowania + kafel historii konta (kto edytowal dane, historia kar) ; GET /admin/users/:id/activity
This commit is contained in:
@@ -36,6 +36,8 @@ export interface User {
|
||||
status: 'ACTIVE' | 'SUSPENDED' | 'BANNED';
|
||||
suspensionUntil: string | null;
|
||||
restrictionReason: string | null;
|
||||
/** Data ostatniego udanego logowania (login, nie odświeżanie tokenu); null = nigdy. */
|
||||
lastLoginAt?: string | null;
|
||||
createdAt: string;
|
||||
memberships?: { gymId: string; roles: GymRole[]; gym: Gym }[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user