From b0dba35e5acbe6ff466a2562238d26da9f11a0c7 Mon Sep 17 00:00:00 2001 From: xinwen Date: Tue, 17 Nov 2020 19:06:10 +0800 Subject: [PATCH] =?UTF-8?q?fix(public-api):=20=E7=BC=BA=E5=B0=91SECURITY?= =?UTF-8?q?=5FPASSWORD=5FEXPIRATION=5FTIME=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/settings/api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/settings/api.py b/apps/settings/api.py index cf2f4ac5d..1fba03e6a 100644 --- a/apps/settings/api.py +++ b/apps/settings/api.py @@ -279,6 +279,7 @@ class PublicSettingApi(generics.RetrieveAPIView): "SECURITY_MFA_VERIFY_TTL": settings.SECURITY_MFA_VERIFY_TTL, "SECURITY_COMMAND_EXECUTION": settings.SECURITY_COMMAND_EXECUTION, "LOGIN_TITLE": settings.XPACK_INTERFACE_LOGIN_TITLE, + "SECURITY_PASSWORD_EXPIRATION_TIME": settings.SECURITY_PASSWORD_EXPIRATION_TIME, "LOGO_URLS": settings.LOGO_URLS, "TICKETS_ENABLED": settings.TICKETS_ENABLED, "PASSWORD_RULE": {