summaryrefslogtreecommitdiff
path: root/components/authorize/src
diff options
context:
space:
mode:
authorMagnus Feuer <mfeuer@jaguarlandrover.com>2015-07-25 15:30:47 -0700
committerMagnus Feuer <mfeuer@jaguarlandrover.com>2015-07-25 15:30:47 -0700
commit05ea9b74ea2eb4a3269936f3f6c19c040d233433 (patch)
treeb99cc068570ad2ddd40fa356e2f321a5ba750482 /components/authorize/src
parentd36790af512b5cdd7de9ef0dde359abcf9ae8b91 (diff)
downloadrvi_core-05ea9b74ea2eb4a3269936f3f6c19c040d233433.tar.gz
Added debug output of keys retreived for a specific connection
Diffstat (limited to 'components/authorize/src')
-rw-r--r--components/authorize/src/authorize_keys.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/authorize/src/authorize_keys.erl b/components/authorize/src/authorize_keys.erl
index c52c028..f4592db 100644
--- a/components/authorize/src/authorize_keys.erl
+++ b/components/authorize/src/authorize_keys.erl
@@ -474,7 +474,7 @@ keys_by_conn(Conn) ->
key = '$2', _='_'}, [], [{{'$1', '$2'}}] }]).
validate_message_(JWT, Conn) ->
- ?debug("validate_message_(~p, ~p)~n", [JWT, Conn]),
+ ?debug("validate_message_(~p, ~p) -> ~p~n", [JWT, Conn, keys_by_conn(Conn)]),
[_|_] = Keys = keys_by_conn(Conn),
validate_message_1(Keys, JWT).