Skip to content

Commit

Permalink
Fix: 로그인되면 /home 이동 (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
uiop5809 committed Jun 25, 2023
1 parent e249c82 commit ccaa868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/auth/login/LoginForm/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const LoginForm = () => {
try {
const response = await authAPI.login(userId, userPassword);
authCtx.login(response.access_token);
navigate("/");
navigate("/home");
const TOKEN_EXPIRE_TIME = 1000 * 60 * 60; //60분
setTimeout(() => {
window.alert("로그인 유지 토큰이 만료되어 로그아웃됩니다.");
Expand Down

0 comments on commit ccaa868

Please sign in to comment.