Skip to content

Commit

Permalink
Merge pull request #97 from SOPT-SOPHY/chore/refresh-test
Browse files Browse the repository at this point in the history
chore: 테스트를 위해 refresh 만료시간 1분
  • Loading branch information
onpyeong authored Oct 12, 2023
2 parents 555c777 + 0f98ca5 commit 266ac97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/sophy/sophy/jwt/TokenProvider.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class TokenProvider {
private static final String AUTHORITIES_KEY = "auth";
private static final String BEARER_TYPE = "Bearer";
private static final Long ACCESS_TOKEN_EXPIRE_TIME = 1000 * 60 * 60L;
private static final Long REFRESH_TOKEN_EXPIRE_TIME = 1000 * 60 * 60 * 24 * 7L;
private static final Long REFRESH_TOKEN_EXPIRE_TIME = 1000 * 60L; //1000 * 60 * 60 * 24 * 7L
private final Key key;

//빈 생성 때 key 값 세팅
Expand Down

0 comments on commit 266ac97

Please sign in to comment.