Fixed a bug on the contacts field in the admin client form following the LDAP schema update of 0.0.12

This commit is contained in:
Éloi Rivard 2022-10-26 17:44:50 +02:00
parent 5b69be00c3
commit 6facd248a9
2 changed files with 10 additions and 1 deletions

View file

@ -3,6 +3,15 @@ All notable changes to this project will be documented in this file.
The format is based on `Keep a Changelog <https://keepachangelog.com/en/1.0.0/>`_,
and this project adheres to `Semantic Versioning <https://semver.org/spec/v2.0.0.html>`_.
[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
=====================

View file

@ -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"]