From e7fdea06fa035074a8a6c3a3e95e842651f951dd Mon Sep 17 00:00:00 2001 From: Arturo Buono Date: Fri, 26 Jan 2024 18:31:56 +0100 Subject: [PATCH] fix(fe-qua-all): updates 20240126 fix --- fe-piattaforma/src/redux/features/user/userSlice.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fe-piattaforma/src/redux/features/user/userSlice.ts b/fe-piattaforma/src/redux/features/user/userSlice.ts index 3cc2b7492..5d2021814 100644 --- a/fe-piattaforma/src/redux/features/user/userSlice.ts +++ b/fe-piattaforma/src/redux/features/user/userSlice.ts @@ -151,7 +151,7 @@ export const userSlice = createSlice({ }); }, login: (state) => { - state.user['cfUtenteLoggato'] = state.user.codiceFiscale; + state.user['cfUtenteLoggato'] = state?.user?.codiceFiscale; setSessionValues('user', state.user); setSessionValues('profile', state.profilo); if (isActiveProvisionalLogin) {