优化代码
This commit is contained in:
@ -41,7 +41,7 @@
|
||||
<artifactId>kaptcha</artifactId>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<artifactId>javax.servlet-api</artifactId>
|
||||
<artifactId>servlet-api</artifactId>
|
||||
<groupId>javax.servlet</groupId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
|
@ -36,7 +36,7 @@ public class SysPasswordService
|
||||
@PostConstruct
|
||||
public void init()
|
||||
{
|
||||
loginRecordCache = cacheManager.getCache(ShiroConstants.LOGINRECORDCACHE);
|
||||
loginRecordCache = cacheManager.getCache(ShiroConstants.LOGIN_RECORD_CACHE);
|
||||
}
|
||||
|
||||
public void validate(SysUser user, String password)
|
||||
|
Reference in New Issue
Block a user