修改

parent 2e09909e
...@@ -71,12 +71,12 @@ public class RedisCaptchaStore implements CaptchaStore { ...@@ -71,12 +71,12 @@ public class RedisCaptchaStore implements CaptchaStore {
@Override @Override
public int getSize() { public int getSize() {
return getKeys().size(); return 0;
} }
@Override @Override
public Collection getKeys() { public Collection getKeys() {
return stringRedisTemplate.keys(Constants.REDIS_CAPTCHA_KEY_PATTERN); return Collections.emptyList();
} }
@Override @Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment