From b4d557216e18ee5671d8b9ae9e400edaa5e3c65b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B0=B8=E7=94=9F=E7=9A=84=E7=81=AF=E5=A1=94=E6=B0=B4?= =?UTF-8?q?=E6=AF=8D?= <5283668+opcooc@user.noreply.gitee.com> Date: Thu, 29 Oct 2020 23:03:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20checkState=20=E9=AA=8C?= =?UTF-8?q?=E8=AF=81=E9=94=99=E8=AF=AF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../security/core/oauth/justauth/cache/AuthStateRedisCache.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/top/dcenter/ums/security/core/oauth/justauth/cache/AuthStateRedisCache.java b/src/main/java/top/dcenter/ums/security/core/oauth/justauth/cache/AuthStateRedisCache.java index 540f897..ed1744e 100644 --- a/src/main/java/top/dcenter/ums/security/core/oauth/justauth/cache/AuthStateRedisCache.java +++ b/src/main/java/top/dcenter/ums/security/core/oauth/justauth/cache/AuthStateRedisCache.java @@ -61,7 +61,7 @@ public class AuthStateRedisCache implements Auth2StateCache { @Override public boolean containsKey(String key) { - return StringUtils.hasText(stringRedisTemplate.opsForValue().get(key)); + return StringUtils.hasText(stringRedisTemplate.opsForValue().get(justAuthProperties.getCacheKeyPrefix() + key)); } @Override -- Gitee