Account settings reference
This page is for administrators who configure accounts on a public-sector site. It collects the settings of the
citizen accounts guides in one place. Values marked "shipped" are those of the shipped settings or of a new
installation as documented in the linked pages; recommendations are starting points (example assumptions) to adapt.
Put changes in settings/override/ or a siteaccess's settings/siteaccess/<name>/, never in the shipped files, and
clear the INI cache afterwards: php bin/php/ezcache.php --clear-tag=ini.
Contents
Registration
| File | Block | Key | Shipped | Recommendation | Read |
|---|---|---|---|---|---|
site.ini | UserSettings | DefaultUserPlacement | 12 | the node of your public accounts group | Registration |
site.ini | UserSettings | VerifyUserType | email | keep | Registration |
site.ini | UserSettings | RegistrationFeedback | email | keep; set RegistrationEmail to a shared mailbox | Roles and policies, 7 |
site.ini | UserSettings | RegistrationAdminLinks | enabled | keep | the same |
site.ini | UserSettings | RegistrationActionTTL | 604800 | shorter if approvals are quick | the same |
site.ini | UserSettings | PasswordInRegistrationEmail | disabled | keep | Member registration |
Sign-in and sessions
| File | Block | Key | Shipped | Recommendation | Read |
|---|---|---|---|---|---|
site.ini | Session | SessionTimeout | 31104000 | shorter for shared computers | Sessions |
site.ini | Session | ActivityTimeout | 3600 | keep | the same |
site.ini | Session | Handler | empty | ezpSessionHandlerDB to list and remove sessions | the same |
site.ini | Session | CookieSecure | not set (auto behavior, per Security standards) | keep; serve everything over HTTPS | Security standards |
site.ini | UserSettings | MaxNumberOfFailedLogin | 0 (off) | a value with TrustedIPList[], or rely on 2FA and alerts | Security hardening |
site.ini | UserSettings | TrustedIPList[] | empty | your office networks | the same |
Passwords
| File | Block | Key | Shipped | Recommendation | Read |
|---|---|---|---|---|---|
site.ini | UserSettings | MinPasswordLength | 10 | 12 for the public, 15 for staff | Password rules |
site.ini | UserSettings | WeakPasswordCheck | enabled | keep | the same |
site.ini | PasswordSettings | ForbidLogin | off | enabled | the same |
site.ini | PasswordSettings | ForbidCurrentPassword | off | enabled for staff | the same |
site.ini | PasswordSettings | MinCharacterClasses | 0 | as your policy says | the same |
site.ini | PasswordSettings | EndOtherSessions | enabled | keep | Changing your password |
Two-step sign-in
| File | Block | Key | Shipped | Recommendation | Read |
|---|---|---|---|---|---|
site.ini | UserSettings | LoginHandler[] | sevenxUser2fa, standard (set by the installer) | keep | Two-step sign-in |
sevenxauthentication2fa.ini | General | Enforce2FA | disabled | enabled for the administration siteaccess | the same |
sevenxauthentication2fa.ini | General | DefaultMethod | totp | keep | the same |
sevenxauthentication2fa.ini | TOTPSettings | SecretKey | made by the installer | keep secret, back it up | Two-step sign-in guide |
Deactivation and expiry
| File | Block | Key | Shipped | Recommendation | Read |
|---|---|---|---|---|---|
site.ini | UserSettings | DeactivateAndMove | disabled | enabled | Deactivation and removal |
site.ini | UserSettings | DeactivatedUserGroupNodeID | empty | keep empty unless you have a group | the same |
mbpaex.ini | mbpaexSettings | DefaultPasswordLifeTime | 3 | decide before activating ezmbpaex; 0 disables expiry | ezmbpaex |
mbpaex.ini | mbpaexSettings | PasswordValidationRegexp | empty | only if a rule cannot be expressed otherwise | the same |
Check the value in force on your installation with Setup > Ini settings or ./console exp:ini
(exp:ini command).
Related pages
- Citizen accounts
- Settings page
- 13. Security hardening
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.