Skip to content

Too many failed logins - more info needed on error message #1981

Closed
@nlhkabu

Description

@nlhkabu

Currently we have messages that say:

"There have been too many unsuccessful login attempts. Please try again later."

this would be better usability if we could tell the user how long they will be locked out for...

e.g.

"There have been too many unsuccessful login attempts. You have been locked out for 60 minutes. Please try again later."

As far as I can tell, we need to update this in two places:

https://github.com/pypa/warehouse/blob/2ac60aeb0caf4b22ea1d70fae72ac2182a1626cb/warehouse/accounts/views.py#L37

https://github.com/pypa/warehouse/blob/c1c219d731e19b226395287623856d107456f565/warehouse/accounts/forms.py#L114

@dstufft - what is the 'locked out' time?

Metadata

Metadata

Assignees

No one assigned

    Labels

    UX/UIdesign, user experience, user interfacegood first issueThis issue is ideal for first-time contributors!help neededWe'd love volunteers to advise on or help fix/implement this.javascriptrequires change to JavaScript filesusability

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions