From 82ff816238543c091ed57bd83af70f6756c2d785 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=98=D1=80=D0=B8=D0=BD=D0=B0=20=D0=A0=D0=BE=D0=B7=D0=B5?= =?UTF-8?q?=D1=82?= Date: Mon, 8 Apr 2024 17:08:01 +0300 Subject: [PATCH] Add help message for expiration tokens (#15076) --- .../MiscAuthenticationEdit/MiscAuthenticationEdit.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/awx/ui/src/screens/Setting/MiscAuthentication/MiscAuthenticationEdit/MiscAuthenticationEdit.js b/awx/ui/src/screens/Setting/MiscAuthentication/MiscAuthenticationEdit/MiscAuthenticationEdit.js index 97240efdbcf3..6bc5a8198ea6 100644 --- a/awx/ui/src/screens/Setting/MiscAuthentication/MiscAuthenticationEdit/MiscAuthenticationEdit.js +++ b/awx/ui/src/screens/Setting/MiscAuthentication/MiscAuthenticationEdit/MiscAuthenticationEdit.js @@ -78,12 +78,14 @@ function MiscAuthenticationEdit() { default: OAUTH2_PROVIDER_OPTIONS.default.ACCESS_TOKEN_EXPIRE_SECONDS, type: OAUTH2_PROVIDER_OPTIONS.child.type, label: t`Access Token Expiration`, + help_text: t`Access Token Expiration in seconds`, }, REFRESH_TOKEN_EXPIRE_SECONDS: { ...OAUTH2_PROVIDER_OPTIONS, default: OAUTH2_PROVIDER_OPTIONS.default.REFRESH_TOKEN_EXPIRE_SECONDS, type: OAUTH2_PROVIDER_OPTIONS.child.type, label: t`Refresh Token Expiration`, + help_text: t`Refresh Token Expiration in seconds`, }, AUTHORIZATION_CODE_EXPIRE_SECONDS: { ...OAUTH2_PROVIDER_OPTIONS, @@ -91,6 +93,7 @@ function MiscAuthenticationEdit() { OAUTH2_PROVIDER_OPTIONS.default.AUTHORIZATION_CODE_EXPIRE_SECONDS, type: OAUTH2_PROVIDER_OPTIONS.child.type, label: t`Authorization Code Expiration`, + help_text: t`Authorization Code Expiration in seconds`, }, };