When debugging with kint in a twig tpl the output is seen also by site visitors although they are not logged in.

Permissions "Access kint information" are set just for admin.

Is this a bug?

  • I wonder why this is getting downrated?! No legit question? I am not the first person who discovered this problem. – mogio Dec 8 '16 at 20:43

Most likely the issue is probably related to caching, you can argue that it's a bug in devel/kint module and that is should have an implementation to handle this.

I would argue that the use of kint in a template file is made for running the site in development mode and if you disable caches (which is a really idea on an actual production site) it should work just fine.

  • hi there. Caches are disabled. – mogio Dec 6 '16 at 12:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.