mirror of
https://github.com/PrivateCaptcha/PrivateCaptcha.git
synced 2026-05-12 15:58:43 -05:00
Expose session ID in audit log
This commit is contained in:
@@ -44,6 +44,7 @@ type UserAuditLog struct {
|
||||
TableName string
|
||||
Time string
|
||||
Source string
|
||||
SessionID string
|
||||
}
|
||||
|
||||
var (
|
||||
@@ -310,6 +311,7 @@ func (s *Server) newUserAuditLog(ctx context.Context, log *dbgen.AuditLog) (*Use
|
||||
Time: log.CreatedAt.Time.Format(auditLogTimeFormat),
|
||||
Action: string(log.Action),
|
||||
TableName: log.EntityTable,
|
||||
SessionID: log.SessionID,
|
||||
}
|
||||
var err error
|
||||
|
||||
|
||||
Reference in New Issue
Block a user