From f200a88c63a6a8346b8c6f9460d5b627957d48f8 Mon Sep 17 00:00:00 2001 From: maffettone Date: Tue, 19 Nov 2024 09:54:38 -0500 Subject: [PATCH] fix: clear name and password after success --- bluesky_widgets/qt/tiled_auth.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bluesky_widgets/qt/tiled_auth.py b/bluesky_widgets/qt/tiled_auth.py index 9484ae2..316eec3 100644 --- a/bluesky_widgets/qt/tiled_auth.py +++ b/bluesky_widgets/qt/tiled_auth.py @@ -149,6 +149,9 @@ def authenticate(self): self.auth_manager.api_key = key_info["secret"] self.auth_manager.context = context self.auth_manager.client = from_uri(server_url, api_key=self.auth_manager.api_key) + + self.username_input.clear() + self.password_input.clear() self.logout_button.setEnabled(True) # Enable the logout button except Exception as e: