| Deployment of the authentication | ||
|---|---|---|
ianseo natively looks for its authentication hooks in Modules/Authentication/ (a folder outside Modules/Custom/, so possibly overwritten by an official update). This page copies the source files of the module (dist/) to that folder, then turns on the $CFG->USERAUTH flag in Common/config.inc.php (a file kept through updates). | ||
| State of the files | ||
| File | Deployed | Identical to dist/ |
Modules/Authentication/AuthFunctions.php | ✅ | ✅ |
Modules/Authentication/BlockFunction.php | ✅ | ✅ |
Modules/Authentication/LogIn.php | ✅ | ✅ |
Modules/Authentication/LogOut.php | ✅ | ✅ |
Modules/Authentication/ChangePassword.php | ✅ | ✅ |
Modules/Authentication/Setup2FA.php | ✅ | ✅ |
Modules/Authentication/index.php | ✅ | ✅ |
| State of the activation | ||
$CFG->USERAUTH flag in Common/config.inc.php: missing (never turned on) — value in effect on this request: off — active ADMIN accounts: 0 | ||
Self-repair after an ianseo update: a safety net is set in Common/config.inc.php (AUTH-SELFHEAL block, added automatically at activation and at each deployment). It copies dist/ back to Modules/Authentication/ from the first request on if an ianseo update erased these files → no more need to redeploy by hand. The web server just has to be able to write into Modules/.Manual fallback (when writing is not possible): copy Modules/Custom/AUTH/dist/* to Modules/Authentication/, or set $CFG->USERAUTH = false;. Details in Modules/Custom/AUTH/SERVEUR.md. | ||
| Server configuration (backups, maintenance night, config.local.json) → | ||