mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-09 21:14:22 +00:00
chore: Hide all SAML config for v5.8 (#8159)
This commit is contained in:
1 parent
5798321dc6
commit
ad98a4747f
3 files changed
+10
-8
No files matched your search
+1
-1
@@ -21,7 +21,7 @@ All notable changes to the **Prowler UI** are documented in this file.
|
||||
- Improve `Scan ID` filter by adding more context and enhancing the UI/UX [(#8046)](https://github.com/prowler-cloud/prowler/pull/8046)
|
||||
- Lighthouse chat interface [(#7878)](https://github.com/prowler-cloud/prowler/pull/7878)
|
||||
- Google Tag Manager integration [(#8058)](https://github.com/prowler-cloud/prowler/pull/8058)
|
||||
- SAML login integration [(#8094)](https://github.com/prowler-cloud/prowler/pull/8094)
|
||||
<!-- - SAML login integration [(#8094)](https://github.com/prowler-cloud/prowler/pull/8094) -->
|
||||
|
||||
### 🔄 Changed
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import React, { Suspense } from "react";
|
||||
|
||||
import { getSamlConfig } from "@/actions/integrations/saml";
|
||||
// import { getSamlConfig } from "@/actions/integrations/saml";
|
||||
import { getAllTenants } from "@/actions/users/tenants";
|
||||
import { getUserInfo } from "@/actions/users/users";
|
||||
import { getUserMemberships } from "@/actions/users/users";
|
||||
import { SamlIntegrationCard } from "@/components/integrations/saml-integration-card";
|
||||
// import { SamlIntegrationCard } from "@/components/integrations/saml-integration-card";
|
||||
import { ContentLayout } from "@/components/ui";
|
||||
import { UserBasicInfoCard } from "@/components/users/profile";
|
||||
import { MembershipsCard } from "@/components/users/profile/memberships-card";
|
||||
@@ -24,7 +24,7 @@ export default async function Profile() {
|
||||
}
|
||||
|
||||
const SSRDataUser = async () => {
|
||||
const samlConfig = await getSamlConfig();
|
||||
// const samlConfig = await getSamlConfig();
|
||||
const userProfile = await getUserInfo();
|
||||
if (!userProfile?.data) {
|
||||
return null;
|
||||
@@ -84,9 +84,10 @@ const SSRDataUser = async () => {
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div className="w-full pr-0 lg:w-2/3 xl:w-1/2 xl:pr-3">
|
||||
{/* TODO after v5.8: Add SAML SSO back in */}
|
||||
{/* <div className="w-full pr-0 lg:w-2/3 xl:w-1/2 xl:pr-3">
|
||||
<SamlIntegrationCard samlConfig={samlConfig?.data?.[0]} />
|
||||
</div>
|
||||
</div> */}
|
||||
</div>
|
||||
);
|
||||
};
|
||||
@@ -401,7 +401,8 @@ export const AuthForm = ({
|
||||
</Tooltip>
|
||||
</>
|
||||
)}
|
||||
<Button
|
||||
{/* TODO after v5.8: Add SAML SSO back in */}
|
||||
{/* <Button
|
||||
startContent={
|
||||
!isSamlMode && (
|
||||
<Icon
|
||||
@@ -418,7 +419,7 @@ export const AuthForm = ({
|
||||
}}
|
||||
>
|
||||
{isSamlMode ? "Back" : "Continue with SAML SSO"}
|
||||
</Button>
|
||||
</Button> */}
|
||||
</div>
|
||||
</>
|
||||
)}
|
||||
|
||||
Reference in new issue
Block a user