diff --git a/common/ayon_common/connection/credentials.py b/common/ayon_common/connection/credentials.py index ad2ca9a6b2..7f70cb7992 100644 --- a/common/ayon_common/connection/credentials.py +++ b/common/ayon_common/connection/credentials.py @@ -288,7 +288,7 @@ def ask_to_login_ui( "always_on_top": always_on_top, } - with tempfile.TemporaryFile( + with tempfile.NamedTemporaryFile( mode="w", prefix="ayon_login", suffix=".json", delete=False ) as tmp: output = tmp.name