Repository navigation
Two Factor
With two-factor sign-in, signing in needs a code from an authenticator app on your phone after the password, so a password that became known is not enough.
In the account menu, open Two-factor sign-in and set it up:
- Scan the picture with an authenticator app (for example the one built into your phone's password manager, Google Authenticator, Microsoft Authenticator or 1Password), or type the key it shows.
- Enter the code the app shows. Two-factor sign-in is on from now on.
- Keep the ten backup codes somewhere safe. Each one works once instead of a code from the app, for when the phone is not at hand. They are shown only now; you can make new ones later (the old ones then stop working).
Turning it off, and making new backup codes, needs a code from the app or a backup code.
After the password, enter the code from the app or one of your backup codes. A sign-in that waits too long for the code starts over.
AI programs and scripts that use your access tokens are not affected: tokens work without a code. Tokens are made and removed only after signing in with your password and code.
- Sign in with a backup code, then turn two-factor sign-in off and on again with the new phone.
- No backup codes left: an administrator of all sites sets a new password for you under People; that also turns your two-factor sign-in off.
- The last administrator:
owncms admin reset-password you@example.comon the server sets a new password and turns two-factor sign-in off (see Reference).
The app secrets are kept sealed with the server's secret key (secret.key in the data directory). Without that key, two-factor sign-in cannot be checked; back it up with the database.
OwnCMS: https://github.com/ownlabs-dev/owncms. This wiki is generated from the wiki/ folder in the repository; edit the files there, not in the wiki.
OwnCMS
Using it
- Getting Started
- Sites
- Content types
- Entries
- Media
- Reading content
- People
- Two-factor sign-in
- AI programs
Running it
Background