{"action":"created","issue":{"url":"https://api.github.com/repos/phatworx/devise_security_extension/issues/167","repository_url":"https://api.github.com/repos/phatworx/devise_security_extension","labels_url":"https://api.github.com/repos/phatworx/devise_security_extension/issues/167/labels{/name}","comments_url":"https://api.github.com/repos/phatworx/devise_security_extension/issues/167/comments","events_url":"https://api.github.com/repos/phatworx/devise_security_extension/issues/167/events","html_url":"https://github.com/phatworx/devise_security_extension/issues/167","id":144484276,"number":167,"title":"Captchas doesnt work","user":{"login":"beranPro","id":15611411,"avatar_url":"https://avatars.githubusercontent.com/u/15611411?v=3","gravatar_id":"","url":"https://api.github.com/users/beranPro","html_url":"https://github.com/beranPro","followers_url":"https://api.github.com/users/beranPro/followers","following_url":"https://api.github.com/users/beranPro/following{/other_user}","gists_url":"https://api.github.com/users/beranPro/gists{/gist_id}","starred_url":"https://api.github.com/users/beranPro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beranPro/subscriptions","organizations_url":"https://api.github.com/users/beranPro/orgs","repos_url":"https://api.github.com/users/beranPro/repos","events_url":"https://api.github.com/users/beranPro/events{/privacy}","received_events_url":"https://api.github.com/users/beranPro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-03-30T07:15:06Z","updated_at":"2016-07-11T14:19:40Z","closed_at":null,"body":"Hi, \r\ni'm getting following error when i'm trying to log in with captchas enabled.\r\nIn the better errors console the code work fine.\r\nAny suggestions?\r\n\r\n\r\n```\r\nProcessing by Devise::SessionsController#create as HTML\r\n  Parameters: {\"utf8\"=>\"✓\", \"authenticity_token\"=>\"1VpjBtpi4x2zgURGfWoBEffx5sdzkP/SVtzLBnLzlRUXlDp9DBztFa5FlO2fK5Tl4wsWRBjQajJZtPUbWWqm6w==\", \"user\"\r\n=>{\"email\"=>\"user@example.com\", \"password\"=>\"[FILTERED]\", \"remember_me\"=>\"0\"}, \"commit\"=>\"Sign in\", \"captcha\"=>\"RGRZME\"}\r\nCompleted 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)\r\n\r\nArgumentError - wrong number of arguments (0 for 1):\r\n  devise_security_extension (0.10.0) lib/devise_security_extension/patches/sessions_controller_captcha.rb:7:in `block (2 levels) in <module:Sessions\r\nControllerCaptcha>'\r\n  actionpack (4.2.6) lib/action_controller/metal/implicit_render.rb:4:in `send_action'\r\n  actionpack (4.2.6) lib/abstract_controller/base.rb:198:in `process_action'\r\n  actionpack (4.2.6) lib/action_controller/metal/rendering.rb:10:in `process_action'\r\n...\r\n```\r\n\r\nMy  config/initializers/devise_security_extension.rb\r\n\r\n```ruby\r\nDevise.setup do |config|\r\n  # ==> Security Extension\r\n  # Configure security extension for devise\r\n\r\n  # Should the password expire (e.g 3.months)\r\n  config.expire_password_after = 9.months\r\n\r\n  config.captcha_for_sign_in = true\r\nend\r\n```\r\n\r\nModel: app/models/user.rb\r\n```ruby\r\nclass User < ActiveRecord::Base\r\n  devise :invitable, :database_authenticatable, :registerable, :confirmable,\r\n         :recoverable, :rememberable, :trackable, :validatable, :password_expirable#, :security_questionable#, :password_archivable\r\nend\r\n\r\n```\r\n\r\n\r\nInstalled Versions:\r\n- Ruby 2.2.3\r\n- Rails 4.2.6\r\n- devise (3.5.6)\r\n- devise-i18n (1.0.0)\r\n- devise_invitable (1.5.5)\r\n- devise_security_extension (0.10.0)"},"comment":{"url":"https://api.github.com/repos/phatworx/devise_security_extension/issues/comments/231748365","html_url":"https://github.com/phatworx/devise_security_extension/issues/167#issuecomment-231748365","issue_url":"https://api.github.com/repos/phatworx/devise_security_extension/issues/167","id":231748365,"user":{"login":"dmz006","id":548875,"avatar_url":"https://avatars.githubusercontent.com/u/548875?v=3","gravatar_id":"","url":"https://api.github.com/users/dmz006","html_url":"https://github.com/dmz006","followers_url":"https://api.github.com/users/dmz006/followers","following_url":"https://api.github.com/users/dmz006/following{/other_user}","gists_url":"https://api.github.com/users/dmz006/gists{/gist_id}","starred_url":"https://api.github.com/users/dmz006/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmz006/subscriptions","organizations_url":"https://api.github.com/users/dmz006/orgs","repos_url":"https://api.github.com/users/dmz006/repos","events_url":"https://api.github.com/users/dmz006/events{/privacy}","received_events_url":"https://api.github.com/users/dmz006/received_events","type":"User","site_admin":false},"created_at":"2016-07-11T14:19:40Z","updated_at":"2016-07-11T14:19:40Z","body":"I disabled the devise captchas and decided to use google recaptcha which worked fine for me as well."}}
{"actor":{"display_login":"dmz006"}}