mirror of
https://github.com/Icinga/icingaweb2.git
synced 2026-06-13 18:40:34 -04:00
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.
|
||
|---|---|---|
| .. | ||
| ChangePasswordForm.php | ||
| TwoFactorEnrollmentForm.php | ||