mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-02-13 15:51:30 -05:00
fix: include sessionID in sse logout event
This commit is contained in:
@@ -16,4 +16,5 @@ type FileEvent struct {
|
||||
type BackchannelLogout struct {
|
||||
UserID string `json:"userid"`
|
||||
Timestamp string `json:"timestamp"`
|
||||
SessionID string `json:"sessionid"`
|
||||
}
|
||||
|
||||
@@ -300,5 +300,6 @@ func backchannelLogoutEvent(e events.BackchannelLogout) (string, []string, Backc
|
||||
return "backchannel-logout", []string{e.Executant.GetOpaqueId()}, BackchannelLogout{
|
||||
UserID: e.Executant.GetOpaqueId(),
|
||||
Timestamp: e.Timestamp.String(),
|
||||
SessionID: e.SessionId,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user