Improve output of SSO verbose logging.

This commit is contained in:
Guo Xiang Tan 2018-02-22 11:26:13 +08:00
parent f4418ae884
commit bbb30bedf3
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ 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}")
Rails.logger.warn("Verbose SSO log: New User (user_id: #{user.id}) Created with #{user_params} Email: #{user.primary_email.attributes}")
end
end