fix(ui): don't hide Last.fm scrobble switch (#3561)

Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
Deluan Quintão
2024-12-19 09:08:28 -05:00
committed by GitHub
parent 6c11649b06
commit 2d8507cfd7
7 changed files with 52 additions and 38 deletions
-3
View File
@@ -78,9 +78,6 @@ func buildAuthPayload(user *model.User) map[string]interface{} {
if conf.Server.EnableGravatar && user.Email != "" {
payload["avatar"] = gravatar.Url(user.Email, 50)
}
if conf.Server.LastFM.Enabled {
payload["lastFMApiKey"] = conf.Server.LastFM.ApiKey
}
bytes := make([]byte, 3)
_, err := rand.Read(bytes)