浏览代码

chore(auth-http): remove needless lines

JianBo He 5 年之前
父节点
当前提交
b77ac247eb
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      apps/emqx_auth_http/src/emqx_auth_http_cli.erl

+ 0 - 1
apps/emqx_auth_http/src/emqx_auth_http_cli.erl

@@ -80,7 +80,6 @@ feedvar(Params, ClientInfo = #{clientid := ClientId,
                  ({Param, "%A"}) -> {Param, maps:get(access, ClientInfo, null)};
                  ({Param, "%t"}) -> {Param, maps:get(topic, ClientInfo, null)};
                  ({Param, "%m"}) -> {Param, maps:get(mountpoint, ClientInfo, null)};
-                 ({Param, "%k"}) -> {Param, emqx_json:encode(maps:get(ws_cookie, ClientInfo, null))};
                  ({Param, Var})  -> {Param, Var}
               end, Params).