Relax authorisation checlk for self
[src/app-framework-binder.git] / src / afb-ws-json1.c
index 3d1f29d..4b6c04e 100644 (file)
@@ -129,8 +129,6 @@ struct afb_ws_json1 *afb_ws_json1_create(int fd, struct afb_apiset *apiset, stru
                goto error4;
 
        result->cred = afb_cred_create_for_socket(fd);
-       if (!result->cred)
-               result->cred = afb_cred_current();
        result->apiset = afb_apiset_addref(apiset);
        return result;