mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 16:28:11 +00:00
UX Tweaks
This commit is contained in:
+1
-1
@@ -42,7 +42,7 @@ export const LockoutTab = ({
|
|||||||
onCheckedChange={onChange}
|
onCheckedChange={onChange}
|
||||||
isChecked={value}
|
isChecked={value}
|
||||||
>
|
>
|
||||||
Lockout {value ? "Enabled" : "Disabled"}
|
Lockout
|
||||||
</Switch>
|
</Switch>
|
||||||
</FormControl>
|
</FormControl>
|
||||||
);
|
);
|
||||||
|
|||||||
-3
@@ -67,9 +67,6 @@ export const LockoutFields = ({
|
|||||||
)}
|
)}
|
||||||
</OrgPermissionCan>
|
</OrgPermissionCan>
|
||||||
</div>
|
</div>
|
||||||
<IdentityAuthFieldDisplay label="Lockout">
|
|
||||||
{data.lockoutEnabled ? "Enabled" : "Disabled"}
|
|
||||||
</IdentityAuthFieldDisplay>
|
|
||||||
<IdentityAuthFieldDisplay label="Lockout Threshold">
|
<IdentityAuthFieldDisplay label="Lockout Threshold">
|
||||||
{data.lockoutThreshold}
|
{data.lockoutThreshold}
|
||||||
</IdentityAuthFieldDisplay>
|
</IdentityAuthFieldDisplay>
|
||||||
|
|||||||
+12
-7
@@ -102,13 +102,18 @@ export const ViewIdentityLdapAuthContent = ({
|
|||||||
</Tooltip>
|
</Tooltip>
|
||||||
)}
|
)}
|
||||||
</IdentityAuthFieldDisplay>
|
</IdentityAuthFieldDisplay>
|
||||||
<LockoutFields
|
<IdentityAuthFieldDisplay label="Lockout">
|
||||||
identityId={identityId}
|
{data.lockoutEnabled ? "Enabled" : "Disabled"}
|
||||||
lockedOut={lockedOut}
|
</IdentityAuthFieldDisplay>
|
||||||
clearLockoutsResult={clearLockoutsResult}
|
{data.lockoutEnabled && (
|
||||||
data={data}
|
<LockoutFields
|
||||||
onResetAllLockouts={onResetAllLockouts}
|
identityId={identityId}
|
||||||
/>
|
lockedOut={lockedOut}
|
||||||
|
clearLockoutsResult={clearLockoutsResult}
|
||||||
|
data={data}
|
||||||
|
onResetAllLockouts={onResetAllLockouts}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
</ViewIdentityContentWrapper>
|
</ViewIdentityContentWrapper>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
+12
-7
@@ -90,13 +90,18 @@ export const ViewIdentityUniversalAuthContent = ({
|
|||||||
<IdentityAuthFieldDisplay label="Client Secret Trusted IPs">
|
<IdentityAuthFieldDisplay label="Client Secret Trusted IPs">
|
||||||
{data.clientSecretTrustedIps.map((ip) => ip.ipAddress).join(", ")}
|
{data.clientSecretTrustedIps.map((ip) => ip.ipAddress).join(", ")}
|
||||||
</IdentityAuthFieldDisplay>
|
</IdentityAuthFieldDisplay>
|
||||||
<LockoutFields
|
<IdentityAuthFieldDisplay label="Lockout">
|
||||||
identityId={identityId}
|
{data.lockoutEnabled ? "Enabled" : "Disabled"}
|
||||||
lockedOut={lockedOut}
|
</IdentityAuthFieldDisplay>
|
||||||
clearLockoutsResult={clearLockoutsResult}
|
{data.lockoutEnabled && (
|
||||||
data={data}
|
<LockoutFields
|
||||||
onResetAllLockouts={onResetAllLockouts}
|
identityId={identityId}
|
||||||
/>
|
lockedOut={lockedOut}
|
||||||
|
clearLockoutsResult={clearLockoutsResult}
|
||||||
|
data={data}
|
||||||
|
onResetAllLockouts={onResetAllLockouts}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
<div className="col-span-2 my-3">
|
<div className="col-span-2 my-3">
|
||||||
<div className="mb-3 border-b border-mineshaft-500 pb-2">
|
<div className="mb-3 border-b border-mineshaft-500 pb-2">
|
||||||
<span className="text-bunker-300">Client ID</span>
|
<span className="text-bunker-300">Client ID</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user