mirror of
https://github.com/elastic/kibana.git
synced 2025-04-20 07:48:52 -04:00
[server/xsrf] shorten the xsrf-token, 512 character is overkill
This commit is contained in:
parent
b4517cbe5c
commit
7eefb183e1
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ module.exports = () => Joi.object({
|
|||
otherwise: Joi.boolean().default(false)
|
||||
}),
|
||||
xsrf: Joi.object({
|
||||
token: Joi.string().default(randomBytes(256).toString('hex')),
|
||||
token: Joi.string().default(randomBytes(32).toString('hex')),
|
||||
disableProtection: Joi.boolean().default(false),
|
||||
}).default(),
|
||||
}).default(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue