From 6e6e63ea0ca779303477d9248f251fa62108494a Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Thu, 11 May 2023 12:56:26 +0800 Subject: [PATCH] Update manage.py --- appmanage/api/service/manage.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/appmanage/api/service/manage.py b/appmanage/api/service/manage.py index e4b6d740..f58a5c8b 100644 --- a/appmanage/api/service/manage.py +++ b/appmanage/api/service/manage.py @@ -703,7 +703,9 @@ def get_token(): url = 'http://websoft9-appmanage:81/api/tokens' headers = {'Content-type': 'application/json'} cmd = "cat /usr/share/cockpit/nginx/config.json | jq -r '.NGINXPROXYMANAGER_PASSWORD'" + myLogger.info_logger("password----------------------------------------: ") password = shell_execute.execute_command_output_all(cmd)["result"] + myLogger.info_logger("xxxxxxxxxx----------------------------------------: ") myLogger.info_logger("password: " + password) param = { "identity": "help@websoft9.com",