summaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
Diffstat (limited to 'routers')
-rw-r--r--routers/events/events.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/events/events.go b/routers/events/events.go
index aa8e2c8c74..7542f5681a 100644
--- a/routers/events/events.go
+++ b/routers/events/events.go
@@ -33,8 +33,8 @@ func Events(ctx *context.Context) {
if !ctx.IsSigned {
// Return unauthorized status event
event := (&eventsource.Event{
- Name: "unauthorized",
- Data: "sorry",
+ Name: "close",
+ Data: "unauthorized",
})
_, _ = event.WriteTo(ctx)
ctx.Resp.Flush()