aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/afb-stub-ws.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/afb-stub-ws.c b/src/afb-stub-ws.c
index 8533c797..693a0d0c 100644
--- a/src/afb-stub-ws.c
+++ b/src/afb-stub-ws.c
@@ -479,6 +479,7 @@ static void on_call(void *closure, struct afb_proto_ws_call *call, const char *v
/* init the context */
if (afb_context_connect(&wreq->xreq.context, sessionid, NULL) < 0)
goto unconnected;
+ wreq->xreq.context.validated = 1;
/* makes the call */
wreq->xreq.cred = afb_cred_addref(stubws->cred);