File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -609,9 +609,9 @@ func TestSession(t *testing.T) {
609
609
p .MustSet (ctx , config .ViperKeySessionPersistentCookie , false )
610
610
assert .Equal (t , false , p .SessionPersistentCookie (ctx ))
611
611
612
- assert .Equal (t , true , p .SessionWhoAmICaching (ctx ))
613
- p .MustSet (ctx , config .ViperKeySessionWhoAmICaching , false )
614
612
assert .Equal (t , false , p .SessionWhoAmICaching (ctx ))
613
+ p .MustSet (ctx , config .ViperKeySessionWhoAmICaching , true )
614
+ assert .Equal (t , true , p .SessionWhoAmICaching (ctx ))
615
615
}
616
616
617
617
func TestCookies (t * testing.T ) {
Original file line number Diff line number Diff line change 2482
2482
"type" : " boolean" ,
2483
2483
"title" : " Enable Ory Sessions caching" ,
2484
2484
"description" : " If enabled allows Ory Sessions to be cached. Only effective in the Ory Network." ,
2485
- "default" : true
2485
+ "default" : false
2486
2486
}
2487
2487
},
2488
2488
"additionalProperties" : false
You can’t perform that action at this time.
0 commit comments