From a5ae6763ff9f40f1e98ed1e2a0f472fe99f21f15 Mon Sep 17 00:00:00 2001 From: Dan Allan Date: Thu, 9 Jan 2025 10:03:48 -0500 Subject: [PATCH] CLI should reuse existing tokens. --- tiled/commandline/_utils.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tiled/commandline/_utils.py b/tiled/commandline/_utils.py index a78fcc2d3..732fd0814 100644 --- a/tiled/commandline/_utils.py +++ b/tiled/commandline/_utils.py @@ -79,6 +79,4 @@ def get_context(profile): context, _ = Context.from_any_uri( profile_content["uri"], verify=profile_content.get("verify", True) ) - if context.server_info["authentication"]["required"]: - context.authenticate() return context