jorenvanhee / craft-template-guard

Password protect any page or entry in Craft CMS.
Other
5 stars 0 forks source link

Deprecation Error #8

Closed vaughn-taylor closed 2 years ago

vaughn-taylor commented 2 years ago

You have a deprecation error in /var/www/html/vendor/jorenvanhee/craft-template-guard/src/templates/login.twig:19

craft.request.getParam() has been deprecated. Use craft.app.request.getParam() instead.

jorenvanhee commented 2 years ago

I recently tagged a release 2.0.0-beta.1 ready for craft 4. That version of the plugin uses craft.app.request, so this will not cause any problems in the future. Thanks for bringing it to my attention!