Skip to content

Commit

Permalink
Update deprecation message to mention 8 hours instead of 1.
Browse files Browse the repository at this point in the history
  • Loading branch information
azasypkin committed Oct 19, 2021
1 parent cf6bad4 commit ed26309
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions x-pack/plugins/security/server/config_deprecations.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ describe('Config Deprecations', () => {
Array [
Object {
"level": "warning",
"message": "User sessions will automatically time out after 1 hour of inactivity starting in 8.0. Override this value to change the timeout.",
"message": "User sessions will automatically time out after 8 hours of inactivity starting in 8.0. Override this value to change the timeout.",
},
Object {
"level": "warning",
Expand All @@ -72,7 +72,7 @@ describe('Config Deprecations', () => {
Array [
Object {
"level": "warning",
"message": "User sessions will automatically time out after 1 hour of inactivity starting in 8.0. Override this value to change the timeout.",
"message": "User sessions will automatically time out after 8 hours of inactivity starting in 8.0. Override this value to change the timeout.",
},
]
`);
Expand Down
4 changes: 2 additions & 2 deletions x-pack/plugins/security/server/config_deprecations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,11 +231,11 @@ export const securityConfigDeprecationProvider: ConfigDeprecationProvider = ({
configPath: 'xpack.security.session.idleTimeout',
level: 'warning',
title: i18n.translate('xpack.security.deprecations.idleTimeoutTitle', {
defaultMessage: '"xpack.security.session.idleTimeout" is now 1 hour',
defaultMessage: '"xpack.security.session.idleTimeout" is now 8 hours',
}),
message: i18n.translate('xpack.security.deprecations.idleTimeoutMessage', {
defaultMessage:
'User sessions will automatically time out after 1 hour of inactivity starting in 8.0. Override this value to change the timeout.',
'User sessions will automatically time out after 8 hours of inactivity starting in 8.0. Override this value to change the timeout.',
}),
correctiveActions: {
manualSteps: [
Expand Down

0 comments on commit ed26309

Please sign in to comment.