martin-denizet / redmine_login_audit

Redmine plugin to log successful login attempts in Redmine
44 stars 30 forks source link

Can not login #9

Closed JohnDoe42 closed 10 years ago

JohnDoe42 commented 10 years ago
NameError (uninitialized constant RedmineLoginAudit::Hooks::ControllerAccountSuccessAuthenticationAfterHook::LoginAudit):
  lib/redmine/hook.rb:61:in `block (2 levels) in call_hook'
  lib/redmine/hook.rb:61:in `each'
  lib/redmine/hook.rb:61:in `block in call_hook'
  lib/redmine/hook.rb:58:in `tap'
  lib/redmine/hook.rb:58:in `call_hook'
  lib/redmine/hook.rb:153:in `call_hook'
  app/controllers/account_controller.rb:258:in `successful_authentication'
  app/controllers/account_controller.rb:200:in `password_authentication'
  app/controllers/account_controller.rb:186:in `authenticate_user'
  app/controllers/account_controller.rb:40:in `login'

Latest "Release". nginx latest with passenger on archlinux redmine 2.5.2

Any help appreciated. Willing to try patches. Thanks

martin-denizet commented 10 years ago

Hello John, Thank you for reporting the issue. I will look into it. Sorry for the late reply, I was on holidays!

martin-denizet commented 10 years ago

I could not duplicate the issue. Could you check that the folder containing the plugin is plugins/redmine_login_audit ? Any typo would make problems. Also which version of Ruby are you using? Cheers,

JohnDoe42 commented 10 years ago

Hi, the problem was the folder name, corrected it and now the audit plugin works. Thanks!

You may add a noteto this guide: http://www.redmine.org/plugins/redmine_login_audit

ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux]

martin-denizet commented 10 years ago

Hi John, good to know you got it working. I added a warning in http://www.redmine.org/plugins/redmine_login_audit Cheers!