afb-export: Set API context as validated
[src/app-framework-binder.git] / src / afb-export.c
index 811ecb5..e9d5d9a 100644 (file)
@@ -1766,5 +1766,6 @@ void afb_export_process_xreq(struct afb_export *export, struct afb_xreq *xreq)
 void afb_export_context_init(struct afb_export *export, struct afb_context *context)
 {
        afb_context_init(context, export->session, NULL);
+       context->validated = 1;
 }