mirror of
https://gitee.com/freshday/radar.git
synced 2026-03-22 12:47:16 +08:00
opts: 验证码有效期修改为2分钟.
feihu wang
This commit is contained in:
@@ -147,7 +147,7 @@ public class CacheServiceImpl implements CacheService {
|
||||
|
||||
@Override
|
||||
public void cacheCaptcha(String captcha) {
|
||||
redisService.setex(LOGIN_CAPTCHA_PREFIX + captcha, captcha, 60);
|
||||
redisService.setex(LOGIN_CAPTCHA_PREFIX + captcha, captcha, 60 * 2);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user