Skip to main content
Open Account in the top bar. It shows your Name, Password and Two-factor authentication (On or Off).

Turn on two-factor authentication

  1. Next to Two-factor authentication, click Edit, type your Password, then Continue.
  2. Scan the QR code with your authenticator app (or Can’t scan? Enter this key instead), type the 6-digit Authentication code, then Enable.
  3. Save the recovery codes somewhere safe, then I have saved these codes. They are not shown again.
From then on, signing in asks for the code from your app after your password. Turning two-factor authentication on or off ends your other sessions.
Lost your phone? At sign-in, use one of your recovery codes instead of the app’s code. Each recovery code signs you in once. Without your app and your recovery codes, someone with root access to the box can reset the account: sudo casaos-user-service -ru -user <name> sets a new password and turns two-factor authentication off.

Sign out everywhere else

Sign out everywhere else at the bottom of the Account menu, then your Password and Submit: every other session is signed out. One already open keeps working for up to 3 hours. Passwords are stored with argon2id, and a session survives a restart of the box.