mirror of
https://github.com/discourse/discourse.git
synced 2025-03-20 23:30:10 +08:00
fix typo
This commit is contained in:
parent
f180aba492
commit
3d6cfc6421
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user