From 29db03cc9446cf26a1eba07da04fea0baa5c6517 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=B7=E5=86=B7?= Date: Mon, 16 Jul 2018 18:35:46 +0800 Subject: [PATCH] =?UTF-8?q?:recycle:=20=E9=87=8D=E6=9E=84=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pig/gateway/component/filter/DecodePasswordFilter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pig-gateway/src/main/java/com/github/pig/gateway/component/filter/DecodePasswordFilter.java b/pig-gateway/src/main/java/com/github/pig/gateway/component/filter/DecodePasswordFilter.java index 10422e15..e41a02cd 100644 --- a/pig-gateway/src/main/java/com/github/pig/gateway/component/filter/DecodePasswordFilter.java +++ b/pig-gateway/src/main/java/com/github/pig/gateway/component/filter/DecodePasswordFilter.java @@ -83,7 +83,7 @@ public class DecodePasswordFilter extends ZuulFilter { return null; } - List passList = params.get("password"); + List passList = params.get(PASSWORD); if (CollUtil.isEmpty(passList)) { return null; }