Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Fix user login #2987

Closed
wants to merge 16 commits into from
Prev Previous commit
Next Next commit
Update user-slice.ts
  • Loading branch information
xhefribala committed Sep 9, 2022
commit a818cb7bd836c4ba56c21f3b2a6fbc58c74169e3
2 changes: 0 additions & 2 deletions src/user/user-slice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ export const getCurrentSession = (username: string): AppThunk => async (dispatch
id: user._id,
givenName: (user as any).metadata.givenName,
familyName: (user as any).metadata.familyName,
fullName: (user as any).metadata.fullName,
},
permissions: initialState.permissions,
}),
Expand All @@ -110,7 +109,6 @@ export const login = (username: string, password: string): AppThunk => async (di
id: user._id,
givenName: (user as any).metadata.givenName,
familyName: (user as any).metadata.familyName,
fullName: (user as any).metadata.fullName,
},
permissions: initialState.permissions,
}),
Expand Down