mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[server/xsrf] use the new enabled flag
This commit is contained in:
parent
159fc4fd55
commit
f19598a9a2
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ export default function (kbnServer, server, config) {
|
|||
const disabled = config.get('server.xsrf.disableProtection');
|
||||
|
||||
const stateOpts = {
|
||||
isSecure: Boolean(config.get('server.ssl.cert') && config.get('server.ssl.key')),
|
||||
isSecure: config.get('server.ssl.enabled'),
|
||||
isHttpOnly: false,
|
||||
path: '/',
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue