From 0054232783ac75b12cf9826b132c4c22fa90622c Mon Sep 17 00:00:00 2001 From: Jacob Hoffman-Andrews Date: Sat, 18 Jul 2020 16:39:23 -0700 Subject: [PATCH] Replace "regenerate" with "revoke" for API tokens The current UI supports revoking tokens and creating new ones, not regenerating them. --- src/doc/src/reference/publishing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/src/reference/publishing.md b/src/doc/src/reference/publishing.md index 3007a278dbc..4cf1ab1072c 100644 --- a/src/doc/src/reference/publishing.md +++ b/src/doc/src/reference/publishing.md @@ -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