fix (regression): whitelabeling regression after migration

This commit is contained in:
MickaelK
2026-09-16 15:32:50 +10:00
parent 6bd223eab2
commit 17ce4c833b
+7
View File
@@ -129,6 +129,13 @@ func (this *Configuration) Connections() []map[string]any {
}
func (this *Configuration) Load() error {
if IsWhiteLabel() {
schema := Config.state.Load()
schema.forms[0].Elmnts[0].Default = APPNAME
schema.forms[0].Elmnts[0].Placeholder = ""
Config.state.Store(schema)
}
cFile, err := LoadConfig()
if err != nil {
Log.Error("config::load %s", err)