diff --git a/app/routes/me/index.js b/app/routes/me/index.js index e3844da4bbc..e39b5b5e8f9 100644 --- a/app/routes/me/index.js +++ b/app/routes/me/index.js @@ -5,6 +5,8 @@ export default class MeIndexRoute extends Route { @service router; redirect() { - this.router.replaceWith('settings'); + // `cargo login` is showing links to https://crates.io/me to access the API tokens, + // so we need to keep this route and redirect the user to the API tokens settings page. + this.router.replaceWith('settings.tokens'); } }