mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-10 23:57:34 +02:00
config: allow dynamic configuration of cookie settings (#1267)
This commit is contained in:
parent
0c51ad0e66
commit
fbf5b403b9
17 changed files with 184 additions and 165 deletions
|
@ -65,8 +65,10 @@ func TestVerifier(t *testing.T) {
|
|||
encSession = append(encSession, cryptutil.NewKey()...)
|
||||
}
|
||||
|
||||
cs, err := NewStore(&Options{
|
||||
Name: "_pomerium",
|
||||
cs, err := NewStore(func() Options {
|
||||
return Options{
|
||||
Name: "_pomerium",
|
||||
}
|
||||
}, encoder)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue