diff --git a/app/models/discourse_single_sign_on.rb b/app/models/discourse_single_sign_on.rb index 78fde37faf2..fbe2425ec96 100644 --- a/app/models/discourse_single_sign_on.rb +++ b/app/models/discourse_single_sign_on.rb @@ -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