Procházet zdrojové kódy

chore(auth-http): remove needless lines

JianBo He před 5 roky
rodič
revize
b77ac247eb
1 změnil soubory, kde provedl 0 přidání a 1 odebrání
  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).