Skip to content

Clear credentials from UI after authenticating#341

Merged
Insprill merged 5 commits intojpochyla:masterfrom
Insprill:fix/credentials
Jan 11, 2023
Merged

Clear credentials from UI after authenticating#341
Insprill merged 5 commits intojpochyla:masterfrom
Insprill:fix/credentials

Conversation

@Insprill
Copy link
Copy Markdown
Collaborator

@Insprill Insprill commented Oct 8, 2022

When logging in initially, or after changing accounts, until psst is restarted, when the settings panel is opened, the credentials will be visible in plain text. This clears the credentials from the UI after a login attempt, no matter if it's successful or not.

If #342 gets merged then perhaps this should only clear the credentials if authentication was successful?

@jpochyla
Copy link
Copy Markdown
Owner

Hi, thanks a lot for all the PRs, great work!

perhaps this should only clear the credentials if authentication was successful?

I agree.

@Insprill
Copy link
Copy Markdown
Collaborator Author

What do you think about only clearing the password if authentication fails?

@Insprill Insprill merged commit dd57547 into jpochyla:master Jan 11, 2023
@Insprill Insprill deleted the fix/credentials branch January 11, 2023 23:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants