icingaweb2/application/forms/Account
Johannes Rauh f7a38cb276 Apply fieldset module class after assembleEnrollmentFormElements
Setting the `icinga-module module-{name}` class on the fieldset before calling
`assembleEnrollmentFormElements` let hook implementations overwrite or clear it
by calling `setAttributes` on the fieldset themselves. Moving the assignment to
after assembly ensures the CSS scoping class is always present regardless of
what the hook does.

The guard on the fieldset name ensures a hook implementation cannot change the
fieldset name during assembly, which would break form submission handling.
2026-05-27 10:47:21 +02:00
..
ChangePasswordForm.php License source files as GPL-3.0-or-later 2026-03-26 17:49:26 +01:00
TwoFactorEnrollmentForm.php Apply fieldset module class after assembleEnrollmentFormElements 2026-05-27 10:47:21 +02:00