include LICENSE in build, display in about tab

Also fixes last commit, user cache wasn't refreshed in ApplySettings, is
now.
This commit is contained in:
Harvey Tindall
2021-03-01 00:32:09 +00:00
parent fa7da1b23f
commit bd05a4b35a
4 changed files with 11 additions and 0 deletions
+1
View File
@@ -1172,6 +1172,7 @@ func (app *appContext) ApplySettings(gc *gin.Context) {
policy = app.storage.profiles[req.Profile].Policy
} else if req.From == "user" {
applyingFrom = "user"
app.jf.CacheExpiry = time.Now()
user, status, err := app.jf.UserByID(req.ID, false)
if !(status == 200 || status == 204) || err != nil {
app.err.Printf("Failed to get user from Jellyfin (%d): %s", status, err)