mirror of
https://github.com/docmost/docmost.git
synced 2025-11-21 13:11:08 +10:00
* prefetch sso providers in settings
* hide sso enforcement in standard plan
This commit is contained in:
@ -35,17 +35,15 @@ export default function Security() {
|
||||
Single sign-on (SSO)
|
||||
</Title>
|
||||
|
||||
<EnforceSso />
|
||||
|
||||
<Divider my="lg" />
|
||||
|
||||
{!isCloud() && hasLicenseKey ? <CreateSsoProvider /> : ""}
|
||||
|
||||
{/*TODO: revisit when we add a second plan
|
||||
<CreateSsoProvider />
|
||||
*/}
|
||||
|
||||
<Divider size={0} my="lg" />
|
||||
{/*TODO: revisit when we add a second plan */}
|
||||
{!isCloud() && hasLicenseKey ? (
|
||||
<>
|
||||
<EnforceSso />
|
||||
<Divider my="lg" />
|
||||
<CreateSsoProvider />
|
||||
<Divider size={0} my="lg" />
|
||||
</>
|
||||
) : null}
|
||||
|
||||
<SsoProviderList />
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user