Version 5.1.3

February 22, 2026

Fixed

  • Delete account and magic link forms now return proper JSON responses when called via AJAX (#11)
  • Error when enabling password policy but not selecting any rules (#8)
  • Password policy and email validation errors now also output as flash messages (#9)

Version 5.1.2

February 22, 2026

Changed

  • Removed leftover debug code and unused imports

Version 5.1.1

February 22, 2026

Fixed

  • Magic link JSON response incorrectly returned success when it failed
  • Password policy checks were running each rule twice unnecessarily
  • Delete account confirmation field could error if the field name was invalid

Changed

  • Logging now uses Craft's built-in Monolog logger instead of a custom log file

Version 5.1.0

February 22, 2026

If you copied the deactivate account template into your project, you'll need to update it to use a <form> with a POST request instead of a plain <a> link. See deactivateAccountForm.twig for the updated markup.

Fixed

  • Password maximum length rule was never being applied
  • Magic link request could error if the email address didn't belong to any user
  • Magic link could error if the user account was deleted after the link was sent
  • Deactivate account action was not protected against cross-site request forgery (CSRF)
  • Email verifier API errors were being output directly instead of being logged
  • Email verifier API could hang indefinitely if the service was unresponsive
  • Email verifier could error if the service returned an unexpected response

Changed

  • Deactivate account form now uses a proper form submission instead of a plain link
  • Added a database index on magic link tokens for faster lookups

Version 5.0.4

February 14, 2024

Fixed

  • Magic link not working for users without CP access, if CP control panel access setting was disabled (Thanks [@StuartMcD)

Version 5.0.3

July 23, 2024

Fixed

  • Magic link expiring in certain timezones (Thanks [@RobinWissink)

Version 5.0.2

July 11, 2024

Fixed

  • If password field is blank when saving a user in the CP, skip password validation

Version 5.0.1

May 30, 2024

Changed

  • Icon to a new shiny (literally) icon

Version 5.0.0

May 30, 2024

Changed

  • Craft 5 compatibility

Version 1.0.4

March 28, 2024

Fixed

  • Blank errors appearing when matching password rules

Added

  • Passwords changed in the CP now go through the password rules

Version 1.0.3

August 23, 2022

Added

  • porter.php config file example.

Version 1.0.2

August 23, 2022

Added

  • craft.porter.deleteAccountFormProperties() variable to get default delete account form template properties in Twig.
  • craft.porter.deactivateAccountFormProperties() variable to get default deactivate account form template properties in Twig.
  • craft.porter.magicLinkFormProperties() variable to get default magic link form template properties in Twig.

Version 1.0.1

August 23, 2022

Fixed

  • Array merge issue when adding custom properties to all forms (Thanks [@flo-bananzki)
  • Missing namespace (Thanks [@flo-bananzki)
  • buttonLabel should have been buttonText and wasn't overwriting the default options

Version 1.0.0

June 20, 2022

Added

  • Initial release