FIX #37867 Rename MAIN_MODULE_OPENIDCONNECT to MAIN_AUTHENTICATION_OIDC_ON in migration (#38326)

OIDC was converted from a module to a config-level feature in v23 (#36051),
renaming the enable constant. No migration was added to update existing
llx_const rows, causing OIDC to appear disabled after a v22 -> v23 upgrade.
This commit is contained in:
Sacha Pignot 2026-05-22 07:52:14 -04:00 committed by GitHub
parent 139ecd4a7c
commit e2c52e8d02
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -437,4 +437,7 @@ INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUE
INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUES ( 4, 'PCG08-PYME-CAT', 'The PYME accountancy spanish plan in catalan language', 1);
-- Rename OIDC enable constant: openidconnect was converted from a module to a config-level feature (#36051)
UPDATE llx_const SET name = 'MAIN_AUTHENTICATION_OIDC_ON' WHERE name = 'MAIN_MODULE_OPENIDCONNECT';
-- end of migration