Skip to content

settings/tokens: Delete plaintext tokens from memory after leaving API tokens settings page #6363

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 22, 2023

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Apr 22, 2023

Even though the app claimed that the user can no longer access the plaintext token once they leave the page, this was not actually the case. Instead we still showed the plaintext token when the user navigated back to the API tokens page.

This PR adjusts the code for the /settings/tokens page to delete the plaintext token from memory once the users leaves the page.

@Turbo87 Turbo87 added C-bug 🐞 Category: unintended, undesired behavior A-frontend 🐹 labels Apr 22, 2023
@Turbo87 Turbo87 merged commit fd002a7 into rust-lang:master Apr 22, 2023
@Turbo87 Turbo87 deleted the purge-tokens branch April 22, 2023 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-frontend 🐹 C-bug 🐞 Category: unintended, undesired behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant