{{define "settings"}}{{template "header" .}}

Change password

{{template "csrf_field" .CSRFToken}}

API keys

Used by OpenSubsonic clients via apiKey= authentication, in place of your password.

{{template "csrf_field" .CSRFToken}}
{{if .Data.NewAPIKey}}
Copy this key now — it won't be shown again:
{{.Data.NewAPIKey}}
{{end}} {{range .Data.APIKeys}} {{end}}
{{.Name}}{{if .ClientDescription}} ({{.ClientDescription}}){{end}} {{fmtTime .CreatedAt}} {{if .LastUsedAt.Valid}}· last used {{fmtTime .LastUsedAt.Time}}{{else}}· never used{{end}} {{if .RevokedAt.Valid}}Revoked{{else}}
{{template "csrf_field" $.CSRFToken}}
{{end}}

Active sessions

{{range .Data.Sessions}} {{end}}
{{.UserAgent}}
{{.IPAddress}} · since {{fmtTime .CreatedAt}}
{{template "csrf_field" $.CSRFToken}}
{{template "footer" .}}{{end}}