Skip to content

Commit

Permalink
fix: 로그인 토큰 만료시간 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
eun-hak committed Jun 12, 2024
1 parent 6181af8 commit b46d28b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hook/useLogin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const useLogin = () => {

const onSuccess = async (data: UserLoginType) => {
const { accessToken } = data.data;
const cookieOptions = { path: '/', maxAge: 300 };
const cookieOptions = { path: '/', maxAge: 30000 };
// const token = await getTokenHandler();
// fcmpost({ fcmToken: token });
setCookie('token', accessToken, cookieOptions);
Expand Down

0 comments on commit b46d28b

Please sign in to comment.