Development Server · a copy of phantasia5.com for testing. Nothing here counts, and no mail is sent.

Account Security

Phantasia supports optional two-step login and passkeys to protect your account with additional security. Turn them on to prevent unauthorized access, even if someone learns your password.

Supported Two-Step Methods

Enabling Two-Step Login

To enable two-step login on your account:

  1. Log in to the game
  2. Navigate to Account Options → Two-Step Login
  3. Choose Use Auth App (or Use Email Code) and follow the setup prompts
  4. Scan the QR code displayed in your client
  5. Or manually enter the Base32 key into your authenticator app
  6. Confirm a six-digit code from your authenticator to complete setup
  7. Store your recovery codes in a safe location

Authenticator Requirements

Your authenticator app must support:

Most modern authenticators meet these requirements, including:

Passkeys

A passkey lets you log in with your fingerprint, face, device PIN or a security key (Face ID, Touch ID, Windows Hello and security keys all work), with no password or code to type. To add one, go to Account Options → Two-Step Login → Passkeys and choose Add Passkey. Then choose Passkey Login on the first screen. Without your passkey device, log in with your password and your usual two-step code as always.

Recovery Codes

Recovery codes are shown once during setup and should be stored safely. Each recovery code can be used once if you:

Lost them, or used most of them? Choose New Recovery Codes under Account Options → Two-Step Login. If you've lost both your authenticator and your recovery codes, choose Can't Login? → Lost 2FA Device on the first screen to turn two-step login off with your password and a code sent to your verified email.

Important: If you lose your recovery codes and no longer have access to your authenticator, and have no verified email on your account, you may need staff-assisted recovery through manual identity verification.

Staff-Assisted Resets

If you lose access to both your authenticator and recovery codes, the game staff can assist with account recovery. This process requires:

A senior Wizard can reset it after confirming the account holder's identity. A successful reset:

All reset actions are logged in the plain-text log/mfa audit file for security tracking.

Disabling Two-Step Login

To disable two-step login:

  1. Log in with your two-step code when prompted
  2. Navigate to Account Options → Two-Step Login
  3. Choose Disable Two-Step

Your authenticator and recovery codes will no longer be required for login.

Password Security

When you create or change your password in Phantasia:

Before upgrading your server, we recommend backing up your database. Rolling back after a password-system migration requires restoring both the database backup and the previous server binary.

Encryption Key Management

The server uses a stable 32-byte encryption key to protect two-step login data. This key must be configured in the server environment as PHANTASIA_TOTP_KEY. If you're running a private server: