修改

parent 2e09909e
......@@ -71,12 +71,12 @@ public class RedisCaptchaStore implements CaptchaStore {
@Override
public int getSize() {
return getKeys().size();
return 0;
}
@Override
public Collection getKeys() {
return stringRedisTemplate.keys(Constants.REDIS_CAPTCHA_KEY_PATTERN);
return Collections.emptyList();
}
@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