Skip to content

Conversation

@Vrohs
Copy link

@Vrohs Vrohs commented Mar 25, 2025

This pull request includes changes to improve the TOTP field recognition, enhance PR title checks, and add a new type definition. The most important changes include adding the autocomplete attribute to TOTP input fields, updating the PR title checker configuration, and adding a new Subscribable type definition.

Improvements to TOTP field recognition:

Description

This PR addresses an issue where TOTP (Time-based One-Time Password) input fields in Rocket.Chat weren't being properly recognized by password managers like KeePassXC, preventing auto-fill functionality for 2FA codes.

Changes

  • Added autoComplete="one-time-code" attribute to TOTP input fields
  • Ensured proper accessibility for two-factor authentication inputs
  • Follows standard recommendations from MDN for one-time code fields

Technical Details

Modified TextInput components in both the TwoFactorTotpModal and TwoFactorTOTP components to include the proper autoComplete attribute, which renders as autocomplete="one-time-code" in HTML. This is the standard attribute for password managers to identify TOTP fields.

Impact

This change improves user experience for anyone using password managers with TOTP capabilities, making the login process more seamless and secure.

Note to maintainers: I've added a changeset file for this improvement. Please help add the "stat: QA assured" label and assign to an appropriate milestone. Thank you!

@Vrohs Vrohs requested a review from a team as a code owner March 25, 2025 10:29
@dionisio-bot
Copy link
Contributor

dionisio-bot bot commented Mar 25, 2025

Looks like this PR is not ready to merge, because of the following issues:

  • This PR is missing the 'stat: QA assured' label
  • This PR is missing the required milestone or project

Please fix the issues and try again

If you have any trouble, please check the PR guidelines

@changeset-bot
Copy link

changeset-bot bot commented Mar 25, 2025

🦋 Changeset detected

Latest commit: f1d0664

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

This PR includes changesets to release 36 packages
Name Type
@rocket.chat/meteor Major
@rocket.chat/core-typings Major
@rocket.chat/rest-typings Major
@rocket.chat/uikit-playground Patch
@rocket.chat/api-client Patch
@rocket.chat/apps Patch
@rocket.chat/core-services Patch
@rocket.chat/cron Patch
@rocket.chat/ddp-client Patch
@rocket.chat/freeswitch Patch
@rocket.chat/fuselage-ui-kit Major
@rocket.chat/gazzodown Major
@rocket.chat/livechat Patch
@rocket.chat/model-typings Patch
@rocket.chat/ui-contexts Major
@rocket.chat/account-service Patch
@rocket.chat/authorization-service Patch
@rocket.chat/ddp-streamer Patch
@rocket.chat/omnichannel-transcript Patch
@rocket.chat/presence-service Patch
@rocket.chat/queue-worker Patch
@rocket.chat/stream-hub-service Patch
@rocket.chat/license Patch
@rocket.chat/omnichannel-services Patch
@rocket.chat/pdf-worker Patch
@rocket.chat/presence Patch
rocketchat-services Patch
@rocket.chat/models Patch
@rocket.chat/network-broker Patch
@rocket.chat/mock-providers Patch
@rocket.chat/ui-avatar Major
@rocket.chat/ui-client Major
@rocket.chat/ui-video-conf Major
@rocket.chat/ui-voip Major
@rocket.chat/web-ui-registration Major
@rocket.chat/instance-status 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

@Vrohs Vrohs requested a review from a team as a code owner March 31, 2025 09:14
@Vrohs Vrohs changed the title fix for issue #30025: provide better identification for 2FA TOTP field / dialog after login to ensure password managers are functional fix: provide better identification for 2FA TOTP field Mar 31, 2025
@Vrohs Vrohs changed the title fix: provide better identification for 2FA TOTP field fix: provide better identification for 2FA TOTP field (stat:QA assured) Mar 31, 2025
@Vrohs Vrohs changed the title fix: provide better identification for 2FA TOTP field (stat:QA assured) fix: provide better identification for 2FA TOTP field Mar 31, 2025
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