mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 06:41:25 +08:00
FIX: do not prefill default site title value on wizard introduction step (#18496)
This commit is contained in:
@ -13,7 +13,7 @@ class Wizard
|
||||
@wizard.append_step('introduction') do |step|
|
||||
step.banner = "welcome-illustration"
|
||||
|
||||
step.add_field(id: 'title', type: 'text', required: true, value: SiteSetting.title)
|
||||
step.add_field(id: 'title', type: 'text', required: true, value: SiteSetting.title == SiteSetting.defaults[:title] ? "" : SiteSetting.title)
|
||||
step.add_field(id: 'site_description', type: 'text', required: false, value: SiteSetting.site_description)
|
||||
step.add_field(id: 'contact_email', type: 'text', required: true, value: SiteSetting.contact_email)
|
||||
|
||||
|
Reference in New Issue
Block a user