Skip to content
This repository was archived by the owner on Nov 17, 2020. It is now read-only.

Commit 9df9387

Browse files
committed
Rename Sock to AuthzData
Part of #20
1 parent a55113c commit 9df9387

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rabbit_auth_backend_cache.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ user_login_authorization(Username, AuthProps) ->
4242
(_) -> unknown
4343
end).
4444

45-
check_vhost_access(#auth_user{} = AuthUser, VHostPath, Sock) ->
46-
with_cache(authz, {check_vhost_access, [AuthUser, VHostPath, Sock]},
45+
check_vhost_access(#auth_user{} = AuthUser, VHostPath, AuthzData) ->
46+
with_cache(authz, {check_vhost_access, [AuthUser, VHostPath, AuthzData]},
4747
fun(true) -> success;
4848
(false) -> refusal;
4949
({error, _} = Err) -> Err;

0 commit comments

Comments
 (0)