diff --git a/src/pages/login/LoginInputForm.tsx b/src/pages/login/LoginInputForm.tsx index 17388116..47a83dd3 100644 --- a/src/pages/login/LoginInputForm.tsx +++ b/src/pages/login/LoginInputForm.tsx @@ -49,7 +49,7 @@ const LoginInputForm = () => { (Number(tokenExpirationDate) - Number(currentDate)) / 1000, ); - setCookie('userAccountInfo', `${role} ${id}`, { + setCookie('accountInfo', `${role} ${id}`, { expires: tokenExpirationDate, maxAge: timeDifferenceseconds, });