|
|
|
@ -100,7 +100,7 @@ public class SysRegisterService |
|
|
|
|
*/ |
|
|
|
|
public void validateCaptcha(String username, String code, String uuid) |
|
|
|
|
{ |
|
|
|
|
String verifyKey = Constants.CAPTCHA_CODE_KEY + uuid; |
|
|
|
|
String verifyKey = Constants.CAPTCHA_CODE_KEY + StringUtils.nvl(uuid, ""); |
|
|
|
|
String captcha = redisCache.getCacheObject(verifyKey); |
|
|
|
|
redisCache.deleteObject(verifyKey); |
|
|
|
|
if (captcha == null) |
|
|
|
|