Skip to content

Passkey Login changelog

All notable changes to Passkey Login (kv_passkey_login) are documented here. The format follows Keep a Changelog and the project uses Semantic Versioning.

  • Compatibility: CS-Cart and Multi-Vendor 4.22.x
  • Rate limits can no longer be bypassed with a forged X-Forwarded-For header; new “Trusted proxies” setting (Settings > Client IP). Before, the per-IP limits of e-mail codes and failed passkey sign-ins used the visitor address from CS-Cart’s fn_get_ip(), which believes X-Forwarded-For and other headers any visitor can send, so sending a new fake address with every request reset the limit. The add-on now uses the connection address (IPv6 visitors are counted per /64 network) and reads a forwarded header only from a proxy: it works out of the box behind Cloudflare (the official ranges are built in) and behind private reverse proxies such as nginx, Varnish (the 4.21 full page cache) or a load balancer on a loopback or private address, where X-Forwarded-For is read from the right and the first non-proxy address is the visitor. A proxy with a public address goes into the new “Trusted proxies” list; $config['kv_client_ip_mode'] / $config['kv_client_ip_trusted_proxies'] in config.local.php set it for every Kavio Labs add-on. Settings and data are kept on upgrade.

Built from the shared Login Security 1.1.0 code. Free update for 1.0.0 (upgrade in place: upload the new zip over the installed add-on; passkeys and settings are kept).

  • Separate passkey sign-in switches for the admin panel and the vendor panel (both off by default).
  • Console command for server owners: php admin.php --dispatch=kv_passkey_login_cli.status|unlock|reset --user=<e-mail or id> (reset removes a user’s passkeys and ends their sessions).
  • A reset by an administrator or the console ends all sessions of the user, including remember me and API sign-in tokens.
  • Admin and vendor panels are detected from CS-Cart’s area and account type, so renamed admin.php / vendor.php work.
  • The passwordless rate limit uses the visitor’s real address behind a proxy or the full page cache.
  • Passwordless sign-in with passkeys on the storefront: button under the sign-in forms and passkey autofill in the e-mail field.
  • Passkeys page in the customer account (add, name, remove; several per account).
  • Optional passkey sign-in for administrators and vendor administrators.
  • Admin overview, passkey log, remove passkeys of a user, profile tab.
  • Steps back while Login Security: 2FA & Passkeys is active and hands its passkeys over automatically.
  • Domain-bound license check and self-healing upgrades.