From a58a688206a03b192fc3c88580ffc60b8ee83fdd Mon Sep 17 00:00:00 2001 From: "Josh.5" Date: Tue, 27 Feb 2024 14:10:17 +1300 Subject: [PATCH] Only attempt to retrieve the initial token if this was a force check-in --- unmanic/libs/session.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unmanic/libs/session.py b/unmanic/libs/session.py index 13bfb6ce..76e414b1 100644 --- a/unmanic/libs/session.py +++ b/unmanic/libs/session.py @@ -403,7 +403,7 @@ def auth_user_account(self, force_checkin=False): return # Start by verifying the token token_verified = self.verify_token() - if not token_verified: + if not token_verified and force_checkin: # Try to fetch token if this was the initial login post_data = {"uuid": self.get_installation_uuid()} response, status_code = self.api_post('support-auth-api', 1, 'app_auth/retrieve_app_token', post_data)