100% Free · Open Source GPLv2 · Zero setup requiredGet the Plugin

Opens in a new tab
ITX UserOps
Premium

Front-end account security

Self-service two-factor, passkeys and devices somewhere a customer can actually reach.

This page is the reference. For what front-end account security is for and what it looks like, see the feature overview.

KeyDefault
frontend.woo_account_tab—
frontend.woo_account_slug—

The problem it solves

Everything personal — two-factor enrolment, passkeys, recognised devices — lived on profile.php.

A WooCommerce customer never goes there. Most stores block wp-admin for customers, and WooCommerce sends them to /my-account/ regardless.

So on a store, the only people who could enrol were staff. And switching on required two-factor locked out precisely the accounts that had no way to comply — every customer, all at once, with no path to fix it themselves.

What it adds

A front-end account security page where a customer can:

  • Enrol in two-factor and see their recovery codes
  • Register and remove passkeys
  • Review recognised devices
  • See and end their own active sessions

On a WooCommerce store it appears as a tab in My account, at a slug you configure. Elsewhere it is a page you place.

If you enforce two-factor on a store, enable this

That is the whole point. Required two-factor without a front-end enrolment route is a lockout with extra steps.

Front end only

The module registers on the front end only. The admin surfaces — the console and the profile panel — are wired separately, so this adds nothing to wp-admin and does not load there.

Customising

itxuo_account_security_url sets where links to the page point, for sites that place it somewhere unusual:

add_filter( 'itxuo_account_security_url', function () {
	return home_url( '/account/security/' );
} );

itxuo_account_panel_rendered fires after the panel renders, for adding your own controls beneath it.

What gets logged

The same events as the admin path — enrolment, removal, session ends — with the user as their own actor. A customer ending their own session and an administrator ending it for them are distinguishable in the log.

Log in

Vote on ideas, submit your own and join the discussion.