Skip to content

Commit

Permalink
Set level to warning
Browse files Browse the repository at this point in the history
  • Loading branch information
watson committed Sep 10, 2021
1 parent 3dfe5ec commit e79875c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions x-pack/plugins/security/server/config_deprecations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ export const securityConfigDeprecationProvider: ConfigDeprecationProvider = ({
(settings, fromPath, addDeprecation) => {
if (settings?.xpack?.security?.session?.idleTimeout === undefined) {
addDeprecation({
level: 'warning',
title: i18n.translate('xpack.security.deprecations.idleTimeoutTitle', {
defaultMessage: 'The xpack.security.session.idleTimeout default is changing',
}),
Expand All @@ -185,6 +186,7 @@ export const securityConfigDeprecationProvider: ConfigDeprecationProvider = ({

if (settings?.xpack?.security?.session?.lifespan === undefined) {
addDeprecation({
level: 'warning',
title: i18n.translate('xpack.security.deprecations.lifespanTitle', {
defaultMessage: 'The xpack.security.session.lifespan default is changing',
}),
Expand Down

0 comments on commit e79875c

Please sign in to comment.