From d2779dd800ba4ec957d2efe13113ba30e8bc5b9f Mon Sep 17 00:00:00 2001 From: Dylan Jay Date: Wed, 18 Dec 2024 16:01:27 +0700 Subject: [PATCH] fix control panel adapter for classic --- src/pas/plugins/oidc/controlpanel/classic.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/pas/plugins/oidc/controlpanel/classic.py b/src/pas/plugins/oidc/controlpanel/classic.py index 0a3dfb8..77a2d19 100644 --- a/src/pas/plugins/oidc/controlpanel/classic.py +++ b/src/pas/plugins/oidc/controlpanel/classic.py @@ -138,6 +138,13 @@ def user_property_as_userid(self): def user_property_as_userid(self, value): self.settings.user_property_as_userid = value + @property + def identity_domain_name(self): + return self.settings.identity_domain_name + + @identity_domain_name.setter + def identity_domain_name(self, value): + self.settings.identity_domain_name = value class OIDCSettingsForm(controlpanel.RegistryEditForm): schema = IOIDCSettings