remove mail server

This commit is contained in:
hupeng
2020-01-04 09:51:13 +08:00
parent 5513065e96
commit b5c4386963
2 changed files with 2 additions and 21 deletions

View File

@ -73,10 +73,7 @@ public class AuthenticationController {
}
final JwtUser jwtUser = (JwtUser) userDetailsService.loadUserByUsername(authorizationUser.getUsername());
// System.out.println(jwtUser.getUsername());
// System.out.println(jwtUser.getPassword());
//System.out.println(EncryptUtils.encryptPassword(authorizationUser.getPassword()));
//System.out.println(authorizationUser.getPassword());
if(!jwtUser.getPassword().equals(EncryptUtils.encryptPassword(authorizationUser.getPassword()))){
throw new AccountExpiredException("密码错误");
}