{"issue":{"created_at":"2011-11-29T09:50:20Z","state":"open","updated_at":"2011-11-29T09:50:24Z","user":{"gravatar_id":"256406243346b9253f8610fb1d1e05f6","id":1215373,"url":"https://api.github.com/users/importer","login":"importer","avatar_url":"https://secure.gravatar.com/avatar/256406243346b9253f8610fb1d1e05f6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":4,"body":"I may be going mad but I have been looking at the code for the \"requireLogin\" setting and it appears to me that there is nothing that will allow the form to be displayed if this setting is active. In mod_event.tpl, the form is wrapped in:\n\n`<?php if (!$this->requireLogin): ?>`\n\nand this value gets pulled straight from the event archive setting. So how would the form be displayed if you only wanted it to be available to logged in users? Should there not be something in Comments->addCommentsToTemplate() that is checking for a logged in user and then setting that value?\n\n--- _Originally created by winanscreative on September 10th, 2010, at 10:47pm (ID 2525)_","assignee":null,"labels":[{"name":"comments","color":"e6e6e6","url":"https://api.github.com/repos/contao/test/labels/comments"},{"name":"Defect","color":"bd2c00","url":"https://api.github.com/repos/contao/test/labels/Defect"},{"name":"Invalid","color":"ffdd00","url":"https://api.github.com/repos/contao/test/labels/Invalid"}],"id":2382199,"number":2525,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"Comments form not visible when requireLogin active.","closed_at":null,"html_url":"https://github.com/contao/test/issues/2525","url":"https://api.github.com/repos/contao/test/issues/2525","milestone":null},"action":"created","comment":{"created_at":"2011-11-29T09:50:24Z","updated_at":"2011-11-29T09:50:24Z","user":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","login":"leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"--- _Originally closed on September 13th, 2010, at 10:18am_","id":2925918,"url":"https://api.github.com/repos/contao/test/issues/comments/2925918"}}