When externals services are disabled, only disable UILoginBackgroundURL if it is not set by the user
This commit is contained in:
parent
e7202339af
commit
b2acec0a09
1 changed files with 3 additions and 1 deletions
|
|
@ -153,7 +153,9 @@ func disableExternalServices() {
|
||||||
log.Info("All external integrations are DISABLED!")
|
log.Info("All external integrations are DISABLED!")
|
||||||
Server.LastFM.Enabled = false
|
Server.LastFM.Enabled = false
|
||||||
Server.Spotify.ID = ""
|
Server.Spotify.ID = ""
|
||||||
Server.UILoginBackgroundURL = consts.DefaultUILoginBackgroundURLOffline
|
if Server.UILoginBackgroundURL == consts.DefaultUILoginBackgroundURL {
|
||||||
|
Server.UILoginBackgroundURL = consts.DefaultUILoginBackgroundURLOffline
|
||||||
|
}
|
||||||
Server.DevListenBrainzEnabled = false
|
Server.DevListenBrainzEnabled = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue