Skip to content

Login error covers login link #3687

@ehuss

Description

@ehuss

Describe the bug
When running cargo login to log in, it instructs you to visit https://crates.io/me. Doing that, I see the following:

image

with no obvious clue what to do. You have to wait for that error to go away to reveal the login link below it. If you have a small-width display, the login link is further hidden behind a Menu drop-down. Even then, it is not obvious what to do if you don't already know how crates.io authentication works.

To Reproduce
Be logged out. Then visit https://crates.io/me.

Expected behavior
If you are not logged in, visiting https://crates.io/me should display a login page (or some sort of page to indicate you need to do something to proceed). Another alternative is if you are already logged in to GitHub to automatically pass through, though I'm not sure how I feel about that.

Desktop (please complete the following information):

  • OS: macOS
  • Browser: Any

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bug 🐞Category: unintended, undesired behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions