mirror of
https://github.com/Icinga/icingaweb2.git
synced 2026-06-11 01:20:21 -04:00
Previously both methods were declared to throw only `ConfigurationError` and callers did not catch it. This removes the now-overly-narrow `@throws ConfigurationError` declarations and wraps both call sites in `try/catch(Throwable)`, letting the enrollment form log the full confidential trace and show the exception message inline rather than leaving the user with an unhandled error page. The enroll false path is also updated: `Notification::error()` is replaced with `$this->onError()` to keep error feedback consistent with the exception path. |
||
|---|---|---|
| .. | ||
| User | ||
| UserGroup | ||
| AdmissionLoader.php | ||
| Auth.php | ||
| AuthChain.php | ||
| Authenticatable.php | ||
| LoginButton.php | ||
| LoginButtonForm.php | ||
| Role.php | ||
| RolesConfig.php | ||
| TwoFactor.php | ||
| TwoFactorState.php | ||