Skip to content

Commit

Permalink
Merge pull request #34 from DDD-Community/fix/30-issue_refresh_token
Browse files Browse the repository at this point in the history
chore: add log
  • Loading branch information
minaamim authored Dec 21, 2023
2 parents 2712265 + 6d5e70c commit 56cc8e8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public AuthTokens generate(JwtUser jwtUser) {
redisTemplate.opsForValue()
.set(RedisKey.REFRESH_TOKEN + jwtUser.getId(), refreshToken, REFRESH_TOKEN_EXPIRE_TIME, TimeUnit.MILLISECONDS);

log.info("user: " + jwtUser.getNickname() + " access token: " + accessToken);
log.info("user: " + jwtUser.getNickname() + " access token: " + accessToken + " refresh token: " + refreshToken);
return AuthTokens.of(accessToken, refreshToken, BEARER_TYPE, ACCESS_TOKEN_EXPIRE_TIME / 1000L);

}
Expand Down

0 comments on commit 56cc8e8

Please sign in to comment.