forked from baron/baron-sso
RP 로그인 이력 통합
This commit is contained in:
@@ -150,6 +150,9 @@ func AuditMiddleware(config AuditConfig) fiber.Handler {
|
||||
if sessionID != "" {
|
||||
details["session_id"] = sessionID
|
||||
}
|
||||
if approvedSessionID, ok := c.Locals("approved_session_id").(string); ok && approvedSessionID != "" {
|
||||
details["approved_session_id"] = approvedSessionID
|
||||
}
|
||||
if err != nil {
|
||||
details["error"] = err.Error()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user