mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 15:48:43 -05:00
stop random hostname for anon
This commit is contained in:
parent
2282869f30
commit
f180aba492
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ class AnonymousShadowCreator
|
|||
User.transaction do
|
||||
shadow = User.create!(
|
||||
password: SecureRandom.hex,
|
||||
email: "#{SecureRandom.hex}@#{SecureRandom.hex}.com",
|
||||
email: "#{SecureRandom.hex}@anon.#{Discourse.current_hostname}.com",
|
||||
name: "",
|
||||
username: UserNameSuggester.suggest(I18n.t(:anonymous).downcase),
|
||||
active: true,
|
||||
|
|
Loading…
Reference in a new issue