schema: add Cookie{Auth,Encr}Secret
This commit is contained in:
parent
2652bb9d22
commit
2ebd117c62
@ -1,10 +1,10 @@
|
|||||||
{ Schema =
|
{ Schema =
|
||||||
./schema.dhall
|
./schema.dhall
|
||||||
sha256:12bd172676c7db8ed849f74718378adead421710f71fb7d92f3075c2489ee5c2
|
sha256:0695554541b911bb3ee4b3605ba01df4caab6533da0d4fd32e9d774c41d19d01
|
||||||
? ./schema.dhall
|
? ./schema.dhall
|
||||||
, Schema/validate =
|
, Schema/validate =
|
||||||
./validate.dhall
|
./validate.dhall
|
||||||
sha256:28399e4a2c2e00c7ddcb0e071a1d0bd1f3fa334b3b3ae8a34ecf5a9fb89f608d
|
sha256:0aef242b8f9e63d36fcf407b71f8a6369bbcb832125c39e61f92b95b7027fc77
|
||||||
? ./validate.dhall
|
? ./validate.dhall
|
||||||
, Prelude =
|
, Prelude =
|
||||||
./prelude.dhall
|
./prelude.dhall
|
||||||
|
12
schema.dhall
12
schema.dhall
@ -6,7 +6,11 @@ let Schema =
|
|||||||
, AppName : Text
|
, AppName : Text
|
||||||
, LiveMode : Bool
|
, LiveMode : Bool
|
||||||
, DevelMode : Bool
|
, DevelMode : Bool
|
||||||
, Session : { CookieName : Optional Text, CookieSecret : Text }
|
, Session :
|
||||||
|
{ CookieName : Text
|
||||||
|
, CookieAuthSecret : Text
|
||||||
|
, CookieEncrSecret : Text
|
||||||
|
}
|
||||||
, Logger : { JSON : Bool, Fmt : Optional Text }
|
, Logger : { JSON : Bool, Fmt : Optional Text }
|
||||||
, InitialAdminPassword : Text
|
, InitialAdminPassword : Text
|
||||||
, Registration : { Allowed : Bool }
|
, Registration : { Allowed : Bool }
|
||||||
@ -18,7 +22,11 @@ let Schema =
|
|||||||
, AppName = "pcmt"
|
, AppName = "pcmt"
|
||||||
, LiveMode = False
|
, LiveMode = False
|
||||||
, DevelMode = False
|
, DevelMode = False
|
||||||
, Session = { CookieName = None Text, CookieSecret = "secretz" }
|
, Session =
|
||||||
|
{ CookieName = "pcmt_session"
|
||||||
|
, CookieAuthSecret = ""
|
||||||
|
, CookieEncrSecret = ""
|
||||||
|
}
|
||||||
, Logger = { JSON = True, Fmt = None Text }
|
, Logger = { JSON = True, Fmt = None Text }
|
||||||
, InitialAdminPassword =
|
, InitialAdminPassword =
|
||||||
-- | used for the first admin, forced change on first login.
|
-- | used for the first admin, forced change on first login.
|
||||||
|
@ -5,7 +5,7 @@ let Prelude =
|
|||||||
|
|
||||||
let Schema =
|
let Schema =
|
||||||
./schema.dhall
|
./schema.dhall
|
||||||
sha256:12bd172676c7db8ed849f74718378adead421710f71fb7d92f3075c2489ee5c2
|
sha256:0695554541b911bb3ee4b3605ba01df4caab6533da0d4fd32e9d774c41d19d01
|
||||||
? ./schema.dhall
|
? ./schema.dhall
|
||||||
|
|
||||||
let Schema/validate
|
let Schema/validate
|
||||||
|
Loading…
Reference in New Issue
Block a user