File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
x-pack/plugins/security/server Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -34,10 +34,10 @@ export const ConfigSchema = schema.object(
3434 schema . maybe ( schema . string ( { minLength : 32 } ) ) ,
3535 schema . string ( { minLength : 32 , defaultValue : 'a' . repeat ( 32 ) } )
3636 ) ,
37- sessionTimeout : schema . maybe ( schema . oneOf ( [ schema . number ( ) , schema . literal ( null ) ] ) ) , // DEPRECATED
37+ sessionTimeout : schema . maybe ( schema . nullable ( schema . number ( ) ) ) , // DEPRECATED
3838 session : schema . object ( {
39- idleTimeout : schema . oneOf ( [ schema . duration ( ) , schema . literal ( null ) ] , { defaultValue : null } ) ,
40- lifespan : schema . oneOf ( [ schema . duration ( ) , schema . literal ( null ) ] , { defaultValue : null } ) ,
39+ idleTimeout : schema . nullable ( schema . duration ( ) ) ,
40+ lifespan : schema . nullable ( schema . duration ( ) ) ,
4141 } ) ,
4242 secureCookies : schema . boolean ( { defaultValue : false } ) ,
4343 authc : schema . object ( {
You can’t perform that action at this time.
0 commit comments