logging
This commit is contained in:
@@ -24,4 +24,8 @@ export class AuthService {
|
||||
user: { username },
|
||||
};
|
||||
}
|
||||
|
||||
async logout(username: string, ipAddress?: string, userAgent?: string): Promise<void> {
|
||||
await this.audit.record({ type: 'auth.logout_success', username, ipAddress, userAgent });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user