Project

General

Profile

Actions

Bug #6868

closed

Login in foreman

Added by Douglas Brancaglion about 10 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
Authentication
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Hi, i use mysqlDB in my foreman setup, but i receive that messages when i try to login:

ActiveRecord::AssociationTypeMismatch
Role(#56476060) expected, got NilClass(#7624920)
app/models/user.rb:206:in `block in post_successful_login'
app/models/concerns/foreman/thread_session.rb:72:in `as'
app/models/user.rb:203:in `post_successful_login'
app/models/user.rb:194:in `try_to_login'
app/controllers/users_controller.rb:72:in `login'
app/models/concerns/foreman/thread_session.rb:33:in `clear_thread'
lib/middleware/catch_json_parse_errors.rb:9:in `call'

Actions

Also available in: Atom PDF