mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
Fix visual bug
This commit is contained in:
parent
4191972afe
commit
14f7551f2b
1 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,8 @@ if User.limit(20).count < 20 && User.where(admin: true).count == 1
|
|||
emails = GlobalSetting.developer_emails.split(",")
|
||||
if emails.length > 1
|
||||
emails = emails[0..-2].join(' , ') << " or #{emails[-1]} "
|
||||
else
|
||||
emails = emails[0]
|
||||
end
|
||||
"Congratulations, you installed Discourse! An administrator should now log in with #{emails} to finalize configuration."
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue