Version 2.1.0

October 7, 2022
  • Added more settings: cookieLifetimeInSeconds, maxLoginAttempts and maxLoginAttemptsPeriodInSeconds.

Version 2.0.0

October 4, 2022

Version 2.0.0-beta.1

March 31, 2022
  • Template Guard now requires Craft CMS 4.0.0-beta.3 or newer.
  • Added PHPStan.

Version 1.1.1

March 31, 2022
  • Added X-Robots-Tag: noindex header to login route.

Version 1.1.0

March 29, 2022

You can now provide an array of passwords {% do craft.templateGuard.protect(['passwords1', 'passwords2']) %}. Any of the passwords provided in the array can be used to log in.

  • Added support for multiple passwords on one page.
  • Added tests.

Version 1.0.0

July 5, 2021
  • Initial release.