Don't use secret in example for now.

This commit is contained in:
Dillon Kearns 2022-01-20 19:24:55 -08:00
parent a353a79e49
commit 9b1f486a1b

View File

@ -196,8 +196,7 @@ data routeParams =
{ name = "mysession"
, secrets =
Secrets.succeed
(\sessionSecret -> [ "secret4", "secret3", "secret2", sessionSecret ])
|> Secrets.with "SESSION_SECRET"
[ "secret4", "secret3", "secret2" ]
, sameSite = "lax" -- TODO custom type
}
(OptimizedDecoder.field "userId" OptimizedDecoder.int)