diff --git a/frontend/src/components/organization/LastLoginSection/LastLoginSection.tsx b/frontend/src/components/organization/LastLoginSection/LastLoginSection.tsx index 50ad653c3..7a4e7b032 100644 --- a/frontend/src/components/organization/LastLoginSection/LastLoginSection.tsx +++ b/frontend/src/components/organization/LastLoginSection/LastLoginSection.tsx @@ -1,4 +1,4 @@ -import { faEnvelope } from "@fortawesome/free-solid-svg-icons"; +import { faShield } from "@fortawesome/free-solid-svg-icons"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; type Props = { @@ -6,13 +6,13 @@ type Props = { }; export const LastLoginSection = ({ lastLoggedInAuthMethod }: Props) => ( -
+
Last Login Details
- +
Authentication Method
diff --git a/frontend/src/pages/organization/AccessManagementPage/components/OrgIdentityTab/components/IdentitySection/IdentityTable.tsx b/frontend/src/pages/organization/AccessManagementPage/components/OrgIdentityTab/components/IdentitySection/IdentityTable.tsx index 0a5124013..98fac6b84 100644 --- a/frontend/src/pages/organization/AccessManagementPage/components/OrgIdentityTab/components/IdentitySection/IdentityTable.tsx +++ b/frontend/src/pages/organization/AccessManagementPage/components/OrgIdentityTab/components/IdentitySection/IdentityTable.tsx @@ -52,7 +52,12 @@ import { setUserTablePreference } from "@app/helpers/userTablePreferences"; import { usePagination, useResetPageHelper } from "@app/hooks"; -import { useGetOrgRoles, useSearchIdentities, useUpdateIdentity } from "@app/hooks/api"; +import { + identityAuthToNameMap, + useGetOrgRoles, + useSearchIdentities, + useUpdateIdentity +} from "@app/hooks/api"; import { OrderByDirection } from "@app/hooks/api/generic/types"; import { OrgIdentityOrderBy } from "@app/hooks/api/organization/types"; import { UsePopUpState } from "@app/hooks/usePopUp"; @@ -308,7 +313,11 @@ export const IdentityTable = ({ handlePopUpOpen }: Props) => { + } >

Last Login Auth Method

-

{data.lastLoggedInAuthMethod || "-"}

+

+ {data.lastLoggedInAuthMethod ? identityAuthToNameMap[data.lastLoggedInAuthMethod] : "-"} +

Delete Protection