diff --git a/web/api/v0/__init__.py b/web/api/v0/__init__.py index 35594802a..60607c5d6 100644 --- a/web/api/v0/__init__.py +++ b/web/api/v0/__init__.py @@ -349,7 +349,7 @@ def post(self, user_id: int, password: str, mac: str, name: str) -> ResponseRetu if not user.wifi_password: abort(400, message="Legacy wifi password change of password is required.") - mpsk_client_create(session, user, mac, name, user, api=True) + mpsk_client_create(session, user, mac, name, user) session.session.commit() except InvalidMACAddressException: abort(400, message="Invalid MAC address.")