diff --git a/frontend/src/auth/auth.helper.ts b/frontend/src/auth/auth.helper.ts index d26654c8326cbc70621ee6f4c1d9b004cd18a3c7..e1b1e9eb90c1646a99e844414b9237b67a5db208 100644 --- a/frontend/src/auth/auth.helper.ts +++ b/frontend/src/auth/auth.helper.ts @@ -18,6 +18,7 @@ export const handleLogin = async (email: string, password: string) => { LOCAL_USER_INFO, JSON.stringify({ isLoggedIn: user.isLoggedIn, + role: user.role, }) ); return user; @@ -58,4 +59,3 @@ export const getLocalUser = () => { } return user; }; -