Documentation / The suite

Two-step verification (optional)

Each user can add an authenticator code to sign-in.

Two-step verification is optional and per user. Nobody, not even an administrator, can switch it on for someone else; an administrator can only reset it when a phone is lost. Open it with the Two-step button in the top bar.

Set up
Enter your password. The dialog shows a setup key (and a link for the authenticator app on the same device). Add it in an authenticator app (time-based, 6 digits, 30 seconds), type the code it shows and choose Turn on.
Recovery codes
Eight codes are shown once. Each signs you in once if you lose the phone. Keep them somewhere safe.
New recovery codes
Replaces all codes. Needs your password.
Turn off
Needs your password and a current code.
CarefulA code can be used once; wait for the next code if a sign-in is refused right after another one. Keep the phone clock set automatically.
ExampleLost phone

Sign in with a recovery code and turn two-step verification off and on again. If you have no code left, ask an administrator to reset it (Administration > Users > Edit > Reset two-step verification); you then sign in with your password only and can set it up again.

In the background

The secret is stored encrypted in the authentication database; recovery codes are stored only as hashes. Codes follow RFC 6238 (HMAC-SHA1, 30 seconds, one step of clock tolerance either way). Five wrong codes end the sign-in attempt, and every failure counts towards the sign-in throttle and is audited.