summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/afb-hswitch.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/afb-hswitch.c b/src/afb-hswitch.c
index b4692bc5..ab9e94b8 100644
--- a/src/afb-hswitch.c
+++ b/src/afb-hswitch.c
@@ -101,11 +101,6 @@ int afb_hswitch_websocket_switch(struct afb_hreq *hreq, void *data)
return 1;
}
- if (!hreq->xreq.context.validated) {
- afb_hreq_reply_error(hreq, MHD_HTTP_UNAUTHORIZED);
- return 1;
- }
-
return afb_websock_check_upgrade(hreq, apiset);
}