Actions
Bug #4442
closedAttempt to use login/password authentication for AuthSourceExternal leads to traceback
Description
When a user is populated in AuthSourceExternal in the http://projects.theforeman.org/projects/foreman/wiki/Foreman_and_mod_auth_kerb setup, an attempt to do non-Kerberos authentication on /users/login leads to
Oops, we're sorry but something went wrong Warning! undefined local variable or method `__class__' for # If you feel this is an error with Foreman itself, please open a new issue with Foreman ticketing system, You would probably need to attach the Full trace and relevant log entries. NameError undefined local variable or method `__class__' for #<AuthSourceExternal:0x00000005d3cac0> app/models/auth_sources/auth_source_external.rb:4:in `authenticate' app/models/user.rb:116:in `try_to_login' app/controllers/users_controller.rb:63:in `login' app/models/concerns/foreman/thread_session.rb:33:in `clear_thread' lib/middleware/catch_json_parse_errors.rb:9:in `call' Back
Actions