Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion app/routes/me/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
}