@if (connectionError() || retrying()) { @if (retrying()) { } @else { Retry } } @else {

Initial Setup

@if (currentStep() > 1) { } @else { 1 }
Account
@if (currentStep() > 2) { } @else { 2 }
2FA
3
Plex
@if (error()) {
{{ error() }}
} @if (currentStep() === 1) {

Create Admin Account

Choose a username and strong password

@if (password()) {
{{ passwordStrength() }}
} @if (password() && !passwordValid) {

Password must be at least 8 characters

} @if (confirmPassword() && !passwordsMatch) {

Passwords do not match

} @if (loading()) { } @else { Continue }
} @if (currentStep() === 2) {

Two-Factor Authentication

@if (!totpVerified()) {

Scan the QR code with your authenticator app

@if (loading()) {
} @else {
Can't scan? Enter manually

Secret key:

{{ totpSecret() }}
Verify Code } } @else {

2FA verified successfully!

Save Your Recovery Codes

Store these codes in a safe place. Each code can only be used once.

@for (code of recoveryCodes(); track code) { {{ code }} }
Copy Codes Download
Continue
}
} @if (currentStep() === 3) {

Link Plex Account

Optional: Link your Plex account for quick sign-in

@if (!plexLinked()) { } @else {
Plex account linked
}
@if (loading()) { } @else { Complete Setup }
} }