Add more verbose SSO logging.
This commit is contained in:
parent
95c891cf11
commit
9355f92f78
|
@ -142,6 +142,10 @@ class DiscourseSingleSignOn < SingleSignOn
|
||||||
}
|
}
|
||||||
|
|
||||||
user = User.create!(user_params)
|
user = User.create!(user_params)
|
||||||
|
|
||||||
|
if SiteSetting.verbose_sso_logging
|
||||||
|
Rails.logger.warn("Verbose SSO log: New User (user_id: #{user.id}) Created with #{user_params}")
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if user
|
if user
|
||||||
|
|
Loading…
Reference in New Issue