Browse files

oops, silly. verifying captcha even when logged in will not work.

  • Loading branch information...
1 parent 1ae009b commit fe1353711acc1602808334e7e433736977420260 Bruno Bornsztein committed Aug 21, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/controllers/comments_controller.rb
View
2 app/controllers/comments_controller.rb
@@ -90,7 +90,7 @@ def create
@comment.author_ip = request.remote_ip #save the ip address for everyone, just because
respond_to do |format|
- if verify_recaptcha(@comment) && @comment.save
+ if (logged_in? || verify_recaptcha(@comment)) && @comment.save
@commentable.add_comment @comment
UserNotifier.deliver_comment_notice(@comment) if @comment.should_notify_recipient?
@comment.notify_previous_commenters

0 comments on commit fe13537

Please sign in to comment.