Skip to content

Commit

Permalink
Replace "regenerate" with "revoke" for API tokens
Browse files Browse the repository at this point in the history
The current UI supports revoking tokens and creating new ones, not regenerating them.
  • Loading branch information
jsha committed Jul 18, 2020
1 parent c004bf9 commit 0054232
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/src/reference/publishing.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ $ cargo login abcdefghijklmnopqrstuvwxyz012345

This command will inform Cargo of your API token and store it locally in your
`~/.cargo/credentials.toml`. Note that this token is a **secret** and should not be
shared with anyone else. If it leaks for any reason, you should regenerate it
shared with anyone else. If it leaks for any reason, you should revoke it
immediately.

### Before publishing a new crate
Expand Down

0 comments on commit 0054232

Please sign in to comment.