Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a login error when using a password manager #5261

Merged
merged 10 commits into from
Dec 10, 2024

Conversation

Cloud11PL
Copy link
Member

@Cloud11PL Cloud11PL commented Nov 19, 2024

It prevents 2 concurrent login attempts that sometimes happen when using a password manager (eg. 1Password). It caused not fully handled error regarding login attempt delay due to too many attempts from one IP. It also adds an error message for that case.

What type of PR is this?

  • 💅 Refactor
  • 🌟 Feature
  • 🔥 Bug Fix
  • 🔩 Maintenance
  • 🛠 Workflow CI/CD changes

Related Issues or Documents

  • closes #

Usage Instructions, Screenshots, Recordings

Have you written tests?

  • Yes!
  • No... here is why:

[Optional] Description

Copy link

changeset-bot bot commented Nov 19, 2024

🦋 Changeset detected

Latest commit: 8b8ba27

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
saleor-dashboard Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot temporarily deployed to pr-5261 November 19, 2024 10:10 Destroyed
@github-actions github-actions bot temporarily deployed to pr-5261 November 19, 2024 11:06 Destroyed
@Cloud11PL Cloud11PL changed the title fix too many attempts login error when using a password manager Fix a login error when using a password manager Nov 19, 2024
@Cloud11PL Cloud11PL marked this pull request as ready for review November 19, 2024 11:27
@Cloud11PL Cloud11PL requested a review from a team as a code owner November 19, 2024 11:27
@github-actions github-actions bot temporarily deployed to pr-5261 November 19, 2024 11:31 Destroyed
@github-actions github-actions bot temporarily deployed to pr-5261 November 25, 2024 09:08 Destroyed
@github-actions github-actions bot temporarily deployed to pr-5261 November 25, 2024 10:37 Destroyed
@github-actions github-actions bot temporarily deployed to pr-5261 November 25, 2024 13:36 Destroyed
src/auth/AuthProvider.test.tsx Show resolved Hide resolved
@github-actions github-actions bot temporarily deployed to pr-5261 November 27, 2024 13:25 Destroyed
@github-actions github-actions bot temporarily deployed to pr-5261 December 2, 2024 11:25 Destroyed
@github-actions github-actions bot temporarily deployed to pr-5261 December 10, 2024 11:33 Destroyed
@github-actions github-actions bot temporarily deployed to pr-5261 December 10, 2024 13:00 Destroyed
@poulch poulch merged commit ecf1f25 into main Dec 10, 2024
20 checks passed
@poulch poulch deleted the MERX-1113-login-fail-password-manager branch December 10, 2024 20:12
Cloud11PL added a commit that referenced this pull request Dec 11, 2024
* fix too many attempts login error when using a password manager

* tests

* remove promise

---------

Co-authored-by: Paweł Chyła <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants