aboutsummaryrefslogtreecommitdiff
path: root/juick-common/src/main/java/com/juick/service/security/deprecated/CookieSimpleHashRememberMeServices.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-07-31 11:42:14 +0300
committerGravatar Vitaly Takmazov2018-07-31 11:42:14 +0300
commitd5df105e320be676bfedb61ab1cc6d15dcafd433 (patch)
treec8da42ff88269c8a556ed0cfebc94cff4450d941 /juick-common/src/main/java/com/juick/service/security/deprecated/CookieSimpleHashRememberMeServices.java
parent12ae70b2659772a591000c378802e94e19f48829 (diff)
accounts without password are locked
Diffstat (limited to 'juick-common/src/main/java/com/juick/service/security/deprecated/CookieSimpleHashRememberMeServices.java')
-rw-r--r--juick-common/src/main/java/com/juick/service/security/deprecated/CookieSimpleHashRememberMeServices.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-common/src/main/java/com/juick/service/security/deprecated/CookieSimpleHashRememberMeServices.java b/juick-common/src/main/java/com/juick/service/security/deprecated/CookieSimpleHashRememberMeServices.java
index b658e16f..bda5e902 100644
--- a/juick-common/src/main/java/com/juick/service/security/deprecated/CookieSimpleHashRememberMeServices.java
+++ b/juick-common/src/main/java/com/juick/service/security/deprecated/CookieSimpleHashRememberMeServices.java
@@ -115,7 +115,7 @@ public class CookieSimpleHashRememberMeServices extends AbstractRememberMeServic
Assert.isTrue(userOptional.isPresent());
- return new JuickUser(userOptional.get());
+ return new JuickUser(userService.getFullyUserByName(userOptional.get().getName()));
}
@Override