schema: add InitialAdminPassword
This commit is contained in:
parent
f16ff4fa20
commit
5ef6964d41
@ -1,10 +1,10 @@
|
||||
{ Schema =
|
||||
./schema.dhall
|
||||
sha256:3269ff2c6eba9856b819f3e7fccd44f2745fdff9d02498e6f0a1474ce650af17
|
||||
sha256:3bd2caed23192f7d8a6e6ff0ce51886c9fd382d02c0e949a8349003c9ba9f6c5
|
||||
? ./schema.dhall
|
||||
, Schema/validate =
|
||||
./validate.dhall
|
||||
sha256:9e327f316fce0ced3598e14020a8a1ee3bd603a7817cb9e62ceddac3ece10e76
|
||||
sha256:c6147b6ad6d4669966a5340871f433a98977dc2daab9d18aa57074670fbcd33e
|
||||
? ./validate.dhall
|
||||
, Prelude =
|
||||
./prelude.dhall
|
||||
|
@ -8,6 +8,7 @@ let Schema =
|
||||
, DevelMode : Bool
|
||||
, Session : { CookieName : Optional Text, CookieSecret : Text }
|
||||
, Logger : { Json : Bool, Fmt : Optional Text }
|
||||
, InitialAdminPassword : Text
|
||||
, Registration : { Allowed : Bool }
|
||||
}
|
||||
, default =
|
||||
@ -19,6 +20,9 @@ let Schema =
|
||||
, DevelMode = False
|
||||
, Session = { CookieName = None Text, CookieSecret = "secretz" }
|
||||
, Logger = { Json = True, Fmt = None Text }
|
||||
, InitialAdminPassword =
|
||||
-- | used for the first admin, forced change on first login.
|
||||
"50ce50fd0e4f5894d74c4caecb450b00c594681d9397de98ffc0c76af5cff5953eb795f7"
|
||||
, Registration.Allowed = True
|
||||
}
|
||||
}
|
||||
|
@ -5,7 +5,7 @@ let Prelude =
|
||||
|
||||
let Schema =
|
||||
./schema.dhall
|
||||
sha256:3269ff2c6eba9856b819f3e7fccd44f2745fdff9d02498e6f0a1474ce650af17
|
||||
sha256:3bd2caed23192f7d8a6e6ff0ce51886c9fd382d02c0e949a8349003c9ba9f6c5
|
||||
? ./schema.dhall
|
||||
|
||||
let Schema/validate
|
||||
|
Loading…
Reference in New Issue
Block a user