mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 17:55:14 +08:00
Add more information to SSO user creation logging.
This commit is contained in:
parent
6d4ff05cf0
commit
6b59a2827d
|
@ -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} Email: #{user.primary_email.attributes}")
|
||||
Rails.logger.warn("Verbose SSO log: New User (user_id: #{user.id}) Params: #{user_params} User Params: #{user.attributes} User Errors: #{user.errors.full_messages} Email: #{user.primary_email.attributes} Email Error: #{user.primary_email.errors.full_messages}")
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user