diff --git a/CHANGES.rst b/CHANGES.rst index 09a5f541..08ec839e 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -3,6 +3,15 @@ All notable changes to this project will be documented in this file. The format is based on `Keep a Changelog `_, and this project adheres to `Semantic Versioning `_. +[0.0.13] - 2022-xx-xx +===================== + +Fixed +***** + +- Fixed a bug on the contacts field in the admin client form following + the LDAP schema update of 0.0.12 + [0.0.12] - 2022-10-24 ===================== @@ -13,7 +22,6 @@ Added - Bumped to FomanticUI 2.9.0 00ffffee - Implemented Dynamic Client Registration :pr:`60` - [0.0.11] - 2022-08-11 ===================== diff --git a/canaille/oidc/clients.py b/canaille/oidc/clients.py index b06e1931..b3f3791e 100644 --- a/canaille/oidc/clients.py +++ b/canaille/oidc/clients.py @@ -215,6 +215,7 @@ def client_edit(client_id): data = dict(client) data["scope"] = " ".join(data["scope"]) data["redirect_uris"] = data["redirect_uris"][0] + data["contacts"] = data["contacts"][0] data["post_logout_redirect_uris"] = ( data["post_logout_redirect_uris"][0] if data["post_logout_redirect_uris"]