Skip to content

PyPI login form rejects newly created account with "The password is invalid" and no login request is sent #20132

Description

@pkumar-vf

Description

I recently created a new PyPI account, but I am unable to log in.

When I enter my credentials and click "Log in", I immediately receive the error:

The password is invalid. Try again.

Expected Behavior

The login form should submit the credentials to the server and either:

  • Successfully authenticate the user, or
  • Return a server-side authentication error if the credentials are incorrect.

Actual Behavior

  • The UI displays:

    The password is invalid. Try again.

  • The error appears immediately.

  • No login API request is sent.

Investigation

I inspected the browser's Network tab and observed that:

  • No login/authentication request is made when submitting the form.
  • The validation appears to be happening entirely on the client side.
  • Because no request is sent, I cannot determine whether the issue is related to the account, credentials, or frontend validation.

Environment

  • Browser: Chrome Version 148.0.7778.216 (Official Build) (arm64)
  • Operating System: Mac OS 26.5
  • PyPI account was newly created.

Additional Notes

I also attempted password reset but did not receive a reset email, which may or may not be related.

Please let me know if there are any known issues affecting newly created accounts or if additional debugging information would be helpful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛requires triagingmaintainers need to do initial inspection of issue
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions