diff --git a/Makefile b/Makefile index a27f7f7..0090e9e 100644 --- a/Makefile +++ b/Makefile @@ -83,6 +83,7 @@ copy: cp -r static/* data/web/ $(info copying language files) cp -r lang data/ + cp LICENSE data/ internal-files: python3 scripts/embed.py internal diff --git a/api.go b/api.go index 21ae82d..6f9e9b0 100644 --- a/api.go +++ b/api.go @@ -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) diff --git a/html/admin.html b/html/admin.html index bfc71be..f31505c 100644 --- a/html/admin.html +++ b/html/admin.html @@ -46,6 +46,7 @@
{{ .strings.version }} {{ .version }}
{{ .strings.commitNoun }} {{ .commit }}
Available under the MIT License.
+{{ .license }}