From bbb30bedf39ac6a14e1cc606c3422fd32c83998f Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan <tgx_world@hotmail.com> Date: Thu, 22 Feb 2018 11:26:13 +0800 Subject: [PATCH] Improve output of SSO verbose logging. --- app/models/discourse_single_sign_on.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/discourse_single_sign_on.rb b/app/models/discourse_single_sign_on.rb index 3b976a57b37..84a7c30ad60 100644 --- a/app/models/discourse_single_sign_on.rb +++ b/app/models/discourse_single_sign_on.rb @@ -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