We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 475570f commit 25d513cCopy full SHA for 25d513c
1 file changed
src/main/java/com/ject/studytrip/auth/presentation/helper/AuthCookieHelper.java
@@ -11,8 +11,8 @@ public static ResponseCookie setOAuthSignupProfileCookie(String value) {
11
OAUTH_SIGNUP_KEY, value, Duration.ofMillis(OAUTH_SIGNUP_COOKIE_TTL_MILLIS));
12
}
13
14
- public static ResponseCookie setRefreshTokenCookie(String value, long maxAge) {
15
- return setResponseCookie(AUTH_REFRESH_TOKEN, value, Duration.ofMillis(maxAge));
+ public static ResponseCookie setRefreshTokenCookie(String value, long maxAgeInSeconds) {
+ return setResponseCookie(AUTH_REFRESH_TOKEN, value, Duration.ofSeconds(maxAgeInSeconds));
16
17
18
private static ResponseCookie setResponseCookie(String name, String value, Duration maxAge) {
0 commit comments