mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
minor login install hint copyedit
This commit is contained in:
parent
bb8dbde0ad
commit
6715786630
1 changed files with 2 additions and 2 deletions
|
@ -2,13 +2,13 @@
|
|||
if User.limit(20).count < 20 && User.where(admin: true).count == 1
|
||||
notice =
|
||||
if GlobalSetting.developer_emails.blank?
|
||||
"Welcome to your new Discourse instance! Unfortunately, no administrator emails were defined during setup, so finalizing the configuration <a href='https://meta.discourse.org/t/how-to-create-an-administrator-account-after-install/14046'>may be difficult</a>."
|
||||
"Congratulations, you installed Discourse! Unfortunately, no administrator emails were defined during setup, so finalizing the configuration <a href='https://meta.discourse.org/t/how-to-create-an-administrator-account-after-install/14046'>may be difficult</a>."
|
||||
else
|
||||
emails = GlobalSetting.developer_emails.split(",")
|
||||
if emails.length > 1
|
||||
emails = emails[0..-2].join(' , ') << " or #{emails[-1]} "
|
||||
end
|
||||
"Welcome to your new Discourse instance! An administrator should now log in with #{emails} to finalize configuration."
|
||||
"Congratulations, you installed Discourse! An administrator should now log in with #{emails} to finalize configuration."
|
||||
end
|
||||
|
||||
if notice != SiteSetting.global_notice
|
||||
|
|
Loading…
Reference in a new issue