Skip to content

Document the TOTP Filters, add Issuer filter #530

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

Merged
merged 4 commits into from
Feb 27, 2023

Conversation

dd32
Copy link
Member

@dd32 dd32 commented Feb 24, 2023

In WordPress/wporg-two-factor#69 it's been realised that the TOTP plugin has a two_factor_totp_title filter for the label, but doesn't have one for the issuer.

The label is supposed to be in the format of Issuer: $user but others may incorrectly only change the prefix of the label without also changing the issuer details.

This PR does two things:

  • Documents the existing filters
  • Adds a two_factor_totp_issuer filter to change the Site name that's then used as part of the label.

@dd32 dd32 added enhancement TOTP Time-based One-time Passwords PHP Pull requests that update Php code labels Feb 24, 2023
@dd32 dd32 requested a review from iandunn February 24, 2023 03:50
@jeffpaul jeffpaul added this to the 0.8.0 milestone Feb 24, 2023
Copy link
Member

@iandunn iandunn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍🏻

@dd32 dd32 merged commit 26ee898 into WordPress:master Feb 27, 2023
@dd32 dd32 deleted the add/totp-filters branch February 27, 2023 05:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PHP Pull requests that update Php code TOTP Time-based One-time Passwords
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants