Files
zitadel/apps/docs/components/prevent-lockout.tsx
T
385c5ae54b docs: Update restrict console guide (#12262)
<!--
Please inform yourself about the contribution guidelines on submitting a
PR here:
https://github.com/zitadel/zitadel/blob/main/CONTRIBUTING.md#submit-a-pull-request-pr.
Take note of how PR/commit titles should be written and replace the
template texts in the sections below. Don't remove any of the sections.
It is important that the commit history clearly shows what is changed
and why.
Important: By submitting a contribution you agree to the terms from our
Licensing Policy as described here:
https://github.com/zitadel/zitadel/blob/main/LICENSING.md#community-contributions.
-->

# Which Problems Are Solved

The projects setting texts and sceenshot where outdated. 

# How the Problems Are Solved

Update the text and screenshot.

# Additional Changes

* Rewording
* Lockout warning component

---------

Co-authored-by: Copilot Autofix powered by AI <[email protected]>
2026-06-10 10:38:37 +00:00

27 lines
1.2 KiB
TypeScript

import { Callout } from 'fumadocs-ui/components/callout';
import Link from 'next/link';
export function PreventLockout() {
return (
<Callout type="warn" title="Prevent Settings Misconfiguration Lockouts">
Login policy settings misconfigurations that occur during the testing phase can easily lead to a{' '}
<Link href="./legal/policies/account-lockout-policy">lockout</Link>. To ensure you don't lose access to your instance:
<ol className="list-decimal list-inside mt-2">
<li>
<strong>Generate a backup PAT:</strong> Create a{' '}
<Link href="./guides/integrate/service-accounts/personal-access-token">
Service Account Personal Access Token
</Link>{' '}
with the <Link href="./guides/manage/console/administrators"><code>IAM_OWNER</code></Link> role to revert any login UI misconfigurations using the API.
</li>
<li>
<strong>Add a second Instance Administrator:</strong> Always designate at least one{' '}
<Link href="./guides/manage/console/administrators">
<strong>second instance administrator</strong>
</Link>.
</li>
</ol>
</Callout>
);
}