def __init__(self, user, *args, **kwargs):
            super(Comment.CommentForm, self).__init__(*args, **kwargs)
            if not user.is_authenticated():
                # Only show captcha for anonymous users
                recaptcha = fields.ReCaptchaField(label="Human?")
                self.fields['recaptcha'] = recaptcha
            else:
                # Initialise author field if user logged in
                author = "%s %s" % (user.first_name, user.last_name)
                self.fields['author'].initial = author
dataset/ETHPy150Open hmarr/django-mumblr/mumblr/entrytypes/__init__.py/Comment.CommentForm.__init__/original