mirror of
https://github.com/discourse/discourse.git
synced 2025-03-21 20:04:18 +08:00
fix typo
This commit is contained in:
parent
f180aba492
commit
3d6cfc6421
@ -33,7 +33,7 @@ class AnonymousShadowCreator
|
|||||||
User.transaction do
|
User.transaction do
|
||||||
shadow = User.create!(
|
shadow = User.create!(
|
||||||
password: SecureRandom.hex,
|
password: SecureRandom.hex,
|
||||||
email: "#{SecureRandom.hex}@anon.#{Discourse.current_hostname}.com",
|
email: "#{SecureRandom.hex}@anon.#{Discourse.current_hostname}",
|
||||||
name: "",
|
name: "",
|
||||||
username: UserNameSuggester.suggest(I18n.t(:anonymous).downcase),
|
username: UserNameSuggester.suggest(I18n.t(:anonymous).downcase),
|
||||||
active: true,
|
active: true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user