diff --git a/CHANGELOG.md b/CHANGELOG.md index 608832a..2f856c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +## [2.4.1] 2026-04-21 + +* Fetched providers as array when displaying them. + ## [2.4.0] 2026-04-20 * Added support for `itk-dev/openid-connect` 4.x. @@ -45,7 +49,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/). * Allowed multiple providers. -[Unreleased]: https://github.com/itk-dev/os2forms_nemlogin_openid_connect/compare/2.4.0...HEAD +[Unreleased]: https://github.com/itk-dev/os2forms_nemlogin_openid_connect/compare/2.4.1...HEAD +[2.4.1]: https://github.com/itk-dev/os2forms_nemlogin_openid_connect/compare/2.4.0...2.4.1 [2.4.0]: https://github.com/itk-dev/os2forms_nemlogin_openid_connect/compare/2.3.1...2.4.0 [2.3.1]: https://github.com/itk-dev/os2forms_nemlogin_openid_connect/compare/2.3.0...2.3.1 [2.3.0]: https://github.com/itk-dev/os2forms_nemlogin_openid_connect/compare/2.2.1...2.3.0 diff --git a/src/Form/SettingsForm.php b/src/Form/SettingsForm.php index 1ac0eb3..92dc810 100644 --- a/src/Form/SettingsForm.php +++ b/src/Form/SettingsForm.php @@ -75,7 +75,7 @@ public function buildForm(array $form, FormStateInterface $form_state): array { ]; try { - $providers = Yaml::parse($providers); + $providers = $this->settings->getProvidersAsArray(); $form['info'] = [ '#type' => 'details',