Add more verbose SSO logging.

This commit is contained in:
Guo Xiang Tan 2017-11-07 19:38:36 +08:00
parent 95c891cf11
commit 9355f92f78
1 changed files with 4 additions and 0 deletions

View File

@ -142,6 +142,10 @@ class DiscourseSingleSignOn < SingleSignOn
}
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
if user