diff options
author | 2018-07-31 11:42:14 +0300 | |
---|---|---|
committer | 2018-07-31 11:42:14 +0300 | |
commit | d5df105e320be676bfedb61ab1cc6d15dcafd433 (patch) | |
tree | c8da42ff88269c8a556ed0cfebc94cff4450d941 /juick-common/src/main/java/com/juick/service/security/deprecated/RequestParamHashRememberMeServices.java | |
parent | 12ae70b2659772a591000c378802e94e19f48829 (diff) |
accounts without password are locked
Diffstat (limited to 'juick-common/src/main/java/com/juick/service/security/deprecated/RequestParamHashRememberMeServices.java')
-rw-r--r-- | juick-common/src/main/java/com/juick/service/security/deprecated/RequestParamHashRememberMeServices.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-common/src/main/java/com/juick/service/security/deprecated/RequestParamHashRememberMeServices.java b/juick-common/src/main/java/com/juick/service/security/deprecated/RequestParamHashRememberMeServices.java index 3a1d129d..71159e17 100644 --- a/juick-common/src/main/java/com/juick/service/security/deprecated/RequestParamHashRememberMeServices.java +++ b/juick-common/src/main/java/com/juick/service/security/deprecated/RequestParamHashRememberMeServices.java @@ -81,7 +81,7 @@ public class RequestParamHashRememberMeServices extends AbstractRememberMeServic if (StringUtils.isNotBlank(hash)) { User user = userService.getUserByHash(hash); if (!user.isAnonymous()) - return new JuickUser(user); + return new JuickUser(userService.getFullyUserByName(user.getName())); } throw new UsernameNotFoundException("User not found by hash " + hash); } |