|
|
@@ -22,7 +22,7 @@ public class JwtUser implements UserDetails {
|
|
|
|
|
|
public JwtUser(User user, Collection<? extends GrantedAuthority> authorities) {
|
|
|
this.authorities = authorities;
|
|
|
- this.lastPasswordResetDate = Date.from(user.getCreatedAt().atZone(ZoneId.systemDefault()).toInstant());
|
|
|
+ this.lastPasswordResetDate = Date.from(user.getCreatedAt().minusMinutes(1).atZone(ZoneId.systemDefault()).toInstant());
|
|
|
this.user = user;
|
|
|
}
|
|
|
|