diff options
author | José Bollo <jose.bollo@iot.bzh> | 2017-05-29 16:11:49 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2017-05-29 16:11:49 +0200 |
commit | 3dbe2d3eeeec9c1d3cf82f41378b306499b9d41b (patch) | |
tree | 910c8760fd36ce0844545c50d6bb4408d01cfb85 /src/afb-ws-json1.c | |
parent | db01090e1f869965c07b12d9480fa6f3d2e7b1b0 (diff) |
Relax authorisation checlk for self
Change-Id: I115bbebb2f51be92578d1cc6b2fb5ae89813b630
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-ws-json1.c')
-rw-r--r-- | src/afb-ws-json1.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/afb-ws-json1.c b/src/afb-ws-json1.c index 3d1f29dc..4b6c04eb 100644 --- a/src/afb-ws-json1.c +++ b/src/afb-ws-json1.c @@ -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; |