File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -478,6 +478,8 @@ async def register_agent(
478478 if auth_type == "query_param" :
479479 # Standard
480480 from urllib .parse import urlparse # pylint: disable=import-outside-toplevel
481+ # First-Party
482+ from mcpgateway .config import settings # pylint: disable=import-outside-toplevel
481483
482484 # Service-layer enforcement: Check feature flag
483485 if not settings .insecure_allow_queryparam_auth :
@@ -1275,6 +1277,8 @@ async def update_agent(
12751277 if is_switching_to_queryparam or is_updating_queryparam_creds or (is_url_changing and original_auth_type == "query_param" ):
12761278 # Standard
12771279 from urllib .parse import urlparse # pylint: disable=import-outside-toplevel
1280+ # First-Party
1281+ from mcpgateway .config import settings # pylint: disable=import-outside-toplevel
12781282
12791283 # Service-layer enforcement: Check feature flag
12801284 if not settings .insecure_allow_queryparam_auth :
You can’t perform that action at this time.
0 commit comments