Skip to content

Commit

Permalink
fix: clear name and password after success
Browse files Browse the repository at this point in the history
  • Loading branch information
maffettone committed Nov 19, 2024
1 parent 2ad31c3 commit f200a88
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bluesky_widgets/qt/tiled_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f200a88

Please sign in to comment.