Two-factor login (TOTP 2FA)
TalePanel supports time-based one-time passwords (TOTP, RFC 6238) as a second login factor. Any standard authenticator app works, for example 1Password, Authy, Aegis or Google Authenticator.
Turn it on for the owner account right after installing.
Turn it on
Section titled “Turn it on”- Go to Settings → Security and choose Set up 2FA.
- Scan the QR code with your authenticator app.
- Enter the 6-digit code from the app to confirm.
- The panel shows ten recovery codes. Copy them or download them as a
.txtfile and keep them somewhere safe, away from your phone. They are shown only once.
2FA is active from then on.
Logging in with 2FA
Section titled “Logging in with 2FA”After your email and password, the panel asks for the current code from your app. You only get a session after a valid code.
Recovery codes
Section titled “Recovery codes”Each recovery code signs you in once in place of the authenticator code. On the 2FA step of the login, choose Use a recovery code and enter one. Dashes and upper or lower case do not matter. After you sign in with one, the panel tells you how many are left.
Settings → Security shows how many of your codes are unused. Generate new codes asks for your password and a current authenticator code, then shows a new set. The old codes stop working.
If you turned on 2FA before v0.13, you have no recovery codes yet. Generate a set under Settings → Security.
The panel stores only SHA-256 hashes of the codes. Each use is written to the audit log, without the code.
Turn it off
Section titled “Turn it off”In Settings → Security, choose Disable 2FA and confirm with your password. Your recovery codes are deleted as well. While 2FA is required for admins (see below), admins and owners cannot turn their own 2FA off.
Require 2FA for admins
Section titled “Require 2FA for admins”An owner can make 2FA mandatory for staff: Admin → Integrations → Require 2FA for admins → Turn on. The owner must have 2FA set up before turning it on. The setting is off after install and after an upgrade.
While it is on, an admin or owner without 2FA can only reach their own account. The panel sends them to Settings → Security to set it up; every other request is refused with 403 and code: "2fa_setup_required". Their API keys stop working until they have 2FA. Moderators and users are not affected.
Sign-in alert emails
Section titled “Sign-in alert emails”When SMTP is set up (see Alerts), TalePanel emails you when your account is signed into with a browser that has not been used from that network (the same IPv4 /24 or IPv6 /48) in the last 30 days. The email names the time, IP address, browser and sign-in method (password, 2FA code or recovery code). If it was not you, change your password and revoke your sessions under Settings → Security.
The very first sign-in of an account is not reported. The alerts are on by default; turn them off under Settings → Notifications → New Sign-in Alerts.
Lost your device?
Section titled “Lost your device?”Sign in with one of your recovery codes, then turn 2FA off and set it up again with your new device.
If you lost the recovery codes too, someone with shell access to the panel host can turn 2FA off for your account:
cd /opt/talepanel/deploy/paneldocker compose run --rm api tale-cli admin disable-2fa --email you@example.comAdd --revoke-sessions to also sign the user out everywhere. The command deletes the user’s recovery codes and writes an audit entry. Then log in with the password and set up 2FA again.
A forgotten password is reset the same way: docker compose run --rm api tale-cli admin reset-password --email you@example.com asks for a new password, signs the user out everywhere and writes an audit entry. There is no email-based reset.
How it is stored
Section titled “How it is stored”- The TOTP secret is encrypted at rest with AES-256-GCM. The key is
TOTP_ENC_KEYin/opt/talepanel/deploy/panel/.env, generated per install. - Do not lose or change
TOTP_ENC_KEY. Without it, existing 2FA secrets cannot be decrypted.
If the API refuses to start with TOTP_ENC_KEY is required, see Install problems.
Sessions
Section titled “Sessions”Settings → Security also lists your active sessions, and you can revoke them one by one. Access tokens are short-lived and kept in memory only; a page reload restores your session from an httpOnly refresh cookie. Logging out revokes the session and blocks the access token until it expires.
Built by BitaceS · sudowl.com · Partner:
HytaleTalk
Free forever · AGPL-3.0 · Not affiliated with Hypixel Studios. · Impressum · Datenschutz
