misc: added admin login url to tooltip

This commit is contained in:
Sheen Capadngan
2025-04-17 00:41:42 +08:00
parent 8c87c40467
commit 5d0bbce12d
2 changed files with 38 additions and 2 deletions

View File

@@ -122,7 +122,25 @@ export const OrgGeneralAuthSection = () => {
<span className="text-md text-mineshaft-100">Enable Admin SSO Bypass</span>
<Tooltip
className="max-w-lg"
content="When this is enabled, we strongly recommend enforcing MFA at the organization level."
content={
<div>
<span>
When this is enabled, we strongly recommend enforcing MFA at the organization
level.
</span>
<p className="mt-4">
In case of a lockout, admins can use the admin login portal{" "}
<a
target="_blank"
rel="noopener noreferrer"
className="underline underline-offset-2 hover:text-mineshaft-300"
href={`${window.location.origin}/login/admin`}
>
here.
</a>
</p>
</div>
}
>
<FontAwesomeIcon
icon={faInfoCircle}

View File

@@ -205,7 +205,25 @@ export const OrgOIDCSection = (): JSX.Element => {
<span className="text-md text-mineshaft-100">Enable Admin SSO Bypass</span>
<Tooltip
className="max-w-lg"
content="When this is enabled, we strongly recommend enforcing MFA at the organization level."
content={
<div>
<span>
When this is enabled, we strongly recommend enforcing MFA at the organization
level.
</span>
<p className="mt-4">
In case of a lockout, admins can use the admin login portal{" "}
<a
target="_blank"
rel="noopener noreferrer"
className="underline underline-offset-2 hover:text-mineshaft-300"
href={`${window.location.origin}/login/admin`}
>
here.
</a>
</p>
</div>
}
>
<FontAwesomeIcon
icon={faInfoCircle}