diff --git a/sipa/model/pycroft/user.py b/sipa/model/pycroft/user.py index 10f39945..14f0b98b 100644 --- a/sipa/model/pycroft/user.py +++ b/sipa/model/pycroft/user.py @@ -325,7 +325,7 @@ def membership_end_date(self) -> ActiveProperty[date | None, date | None]: @property def mpsk_clients(self) -> ActiveProperty[str | None, str | None]: - return ActiveProperty(name="mpsk_clients", value=self.config["mpsk_clients"], capabilities=Capabilities(edit=True, delete=False, displayable=False),) + return ActiveProperty(name="mpsk_clients", value=self.user_data.mpsk_clients, capabilities=Capabilities(edit=True, delete=False, displayable=False),) def change_mpsk_clients(self, mac, name, mpsk_id, password: str): status, _ = api.change_mpsk(self.user_data.id, mac, name, mpsk_id, password)