Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add session timeout support #8250

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Unchunkify session warning string
  • Loading branch information
jakemcdermott committed Dec 14, 2020
commit 997200dd192689484cc1b364d91388f11ca11549
8 changes: 5 additions & 3 deletions awx/ui_next/src/components/AppContainer/AppContainer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,11 @@ function AppContainer({ i18n, navRouteConfig = [], children }) {
</Button>,
]}
>
{i18n._(t`You will be logged out in`)}{' '}
{Number(Math.floor(timeRemaining / 1000))}{' '}
{i18n._(t`seconds due to inactivity.`)}
{i18n._(
t`You will be logged out in ${Number(
Math.floor(timeRemaining / 1000)
)} seconds due to inactivity.`
)}
</AlertModal>
</>
);
Expand Down