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

Disable button on limit of authenticators #2868

Merged
merged 1 commit into from
Feb 19, 2025

Conversation

lmuntaner
Copy link
Collaborator

@lmuntaner lmuntaner commented Feb 18, 2025

Motivation

There was a bug in lit-html because the syntax is not ?disabled but .disabled. Therefore, the button was not disabled when the limit was reached,

The limit was still enforced in the backend. But the limit is set to 10 because it includes the seed phrase and a recovery device.

Changes

  • Change ?disabled for .disabled.

Tests

  • Add a showcase page with the disabled button.

🟢 Some screens were added
🟡 Some screens were changed

@lmuntaner lmuntaner marked this pull request as ready for review February 18, 2025 06:13
@lmuntaner lmuntaner requested a review from LXIF February 18, 2025 06:13
@lmuntaner
Copy link
Collaborator Author

@LXIF please review

@lmuntaner lmuntaner requested a review from sea-snake February 18, 2025 11:35
@lmuntaner
Copy link
Collaborator Author

@sea-snake please review

@lmuntaner lmuntaner added this pull request to the merge queue Feb 19, 2025
Merged via the queue into main with commit 657a2b0 Feb 19, 2025
67 checks passed
@lmuntaner lmuntaner deleted the lm-max-limit-authenticators branch February 19, 2025 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants