Dax74 2018-06-27 11:38:01 +02:00 committed by GitHub
parent eb427f7cf4
commit ccc2d94ae8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
if User.limit(20).count < 20 && User.where(admin: true).human_users.count == 0 if User.limit(20).count < 20 && User.where(admin: true).human_users.count == 0
notice = notice =
if GlobalSetting.developer_emails.blank? if GlobalSetting.developer_emails.blank?
"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>." "Congratulations, you installed Discourse! Unfortunately, no administrator emails were defined during setup, so finalizing the configuration <a href='https://meta.discourse.org/t/create-admin-account-from-console/17274'>may be difficult</a>."
else else
emails = GlobalSetting.developer_emails.split(",") emails = GlobalSetting.developer_emails.split(",")
if emails.length > 1 if emails.length > 1