feat: allow session timeout to be configurable. closes #101

This commit is contained in:
Deluan
2020-03-18 20:16:18 -04:00
parent ced87be57b
commit faac303eff
3 changed files with 29 additions and 13 deletions
+3 -3
View File
@@ -9,9 +9,9 @@ const (
DefaultDbPath = "navidrome.db?cache=shared&_busy_timeout=15000&_journal_mode=WAL"
InitialSetupFlagKey = "InitialSetup"
JWTSecretKey = "JWTSecret"
JWTIssuer = "ND"
JWTTokenExpiration = 30 * time.Minute
JWTSecretKey = "JWTSecret"
JWTIssuer = "ND"
DefaultSessionTimeout = 30 * time.Minute
UIAssetsLocalPath = "ui/build"