diff --git a/app/services/anonymous_shadow_creator.rb b/app/services/anonymous_shadow_creator.rb index 2b9729dd6..f2abd9e1b 100644 --- a/app/services/anonymous_shadow_creator.rb +++ b/app/services/anonymous_shadow_creator.rb @@ -33,7 +33,7 @@ class AnonymousShadowCreator User.transaction do shadow = User.create!( password: SecureRandom.hex, - email: "#{SecureRandom.hex}@anon.#{Discourse.current_hostname}.com", + email: "#{SecureRandom.hex}@anon.#{Discourse.current_hostname}", name: "", username: UserNameSuggester.suggest(I18n.t(:anonymous).downcase), active: true,