rapila / plugin-journal

The journal (blog) plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Authenticated need no captcha or submit name for comments

juergmessmer opened this issue · comments

I suggest that the minute a user is identifier/authenticated, the captcha validation and submitting of name is not required anymore.

Two solutions
• copy name and email of authenticated user
• added new field user_id to comments schema

Why not just Check Session::getSession()->isAuthenticated() and do the same as if $oEntry->getJournal()->getUseCaptcha() and $bIsProblablySpam were false, $oEntry->getJournal()->getEnableComments() was true.

done a long time ago by @juergmessmer