schema: add Session.MaxAge attr

This commit is contained in:
leo 2023-05-13 22:03:57 +02:00
parent 8842e4960a
commit a0d1905ce8
Signed by: wanderer
SSH Key Fingerprint: SHA256:Dp8+iwKHSlrMEHzE3bJnPng70I7LEsa3IJXRH/U+idQ
3 changed files with 5 additions and 3 deletions

View File

@ -1,10 +1,10 @@
{ Schema =
./schema.dhall
sha256:0887e924cad7f0c3c56bd096e00f5866c1190f8bf3aa4b91b8d1f82729386f90
sha256:2e7490953649881f93eec24109ef7a93738ab8fab8ccf40c33260af7faf413a5
? ./schema.dhall
, Schema/validate =
./validate.dhall
sha256:9604bd657ec02f01a1f40d2a3c23c472b172fcaa2e7a7101d59ebacc955dbac9
sha256:8d309832e89fab8babec5b1fef692f1bd6db5974befe8c4fbdbaac6b4e9c1619
? ./validate.dhall
, Schema/version =
./version.dhall

View File

@ -19,6 +19,7 @@ let Schema =
{ CookieName : Text
, CookieAuthSecret : Text
, CookieEncrSecret : Text
, MaxAge : Natural
}
, Logger : { JSON : Bool, Fmt : Optional Text }
, InitialAdminPassword : Text
@ -44,6 +45,7 @@ let Schema =
{ CookieName = "pcmt_session"
, CookieAuthSecret = ""
, CookieEncrSecret = ""
, MaxAge = 3600
}
, Logger = { JSON = True, Fmt = None Text }
, InitialAdminPassword =

View File

@ -5,7 +5,7 @@ let Prelude =
let Schema =
./schema.dhall
sha256:0887e924cad7f0c3c56bd096e00f5866c1190f8bf3aa4b91b8d1f82729386f90
sha256:2e7490953649881f93eec24109ef7a93738ab8fab8ccf40c33260af7faf413a5
? ./schema.dhall
let Schema/validate