title: Override Devise Sign-in with reCaptcha
body: <p>I'm trying to override the Rails devise login to include recaptcha. I followed the steps here</p>
  
  <p><a href="http://presentations.royvandewater.com/authentication-with-devise.html#8" rel="nofollow">http://presentations.royvandewater.com/authentication-with-devise.html#8</a></p>
  
  <p>however for some reason, authentication always fails. To isolate the problem, I removed all my code and called super directly</p>
  
  <pre><code>class SessionsController &lt; Devise::SessionsController
    def create
      super
    end
  end
  </code></pre>
  
  <p>file is at: Rails.root/app/controllers/sessions_controller.rb the slide suggest Rails.root/app/controllers/sessions.rb but I assume that was just a mistake. Trying it out didn't help either.</p>
  
  <p>I even copied the full Sessions Controller code into my own, still gives the problem. Authentication fails here specifically: </p>
  
  <pre><code>resource = warden.authenticate!(:scope =&gt; resource_name, :recall =&gt; "#{controller_path}#new")
  </code></pre>
  
  <p>Any idea what I might be doing wrong?</p>